[1m[35m (118.6ms)[0m [1m[35mDROP DATABASE IF EXISTS "secretaria_ppgi_test"[0m
[1m[35m (267.4ms)[0m [1m[35mCREATE DATABASE "secretaria_ppgi_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "request_types" CASCADE[0m
[1m[35m (10.9ms)[0m [1m[35mCREATE TABLE "request_types" ("id" bigserial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "requests" CASCADE[0m
[1m[35m (10.9ms)[0m [1m[35mCREATE TABLE "requests" ("id" bigserial primary key, "request_type_id" bigint, "user_id" bigint, "documents" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_requests_on_request_type_id" ON "requests" ("request_type_id")[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE INDEX "index_requests_on_user_id" ON "requests" ("user_id")[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (10.4ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "full_name" character varying, "registration" character varying, "role" integer)[0m
[1m[35m (5.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (5.2ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_59d5c2771d"
FOREIGN KEY (“request_type_id”)
REFERENCES "request_types" ("id")
[0m
[1m[35m (4.4ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_8ead8b1e6b"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (8.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201113005619)[0m
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20201113005520), (20191114163205), (20191114162918);
[0m
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-12-02 23:16:57.610831"], ["updated_at", "2020-12-02 23:16:57.610831"]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (6.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 20:35:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (5.7ms)
Completed 200 OK in 552ms (Views: 539.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 20:35:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.2ms)
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 20:47:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 167ms (Views: 158.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 20:47:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.2ms)
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.0ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:22:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 140ms (Views: 134.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:22:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:46:37 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 183ms (Views: 176.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:46:37 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:48:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 163ms (Views: 158.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:48:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.2ms)
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:56:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 196ms (Views: 191.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:56:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:57:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 166ms (Views: 158.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:57:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:57:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 166ms (Views: 157.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:57:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:59:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 171ms (Views: 166.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 21:59:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.0ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 22:06:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 169ms (Views: 163.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 22:06:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 22:07:36 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 180ms (Views: 174.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-02 22:07:37 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:08:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (14.6ms)
Completed 200 OK in 267ms (Views: 216.9ms | ActiveRecord: 6.9ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:08:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:11:24 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 184ms (Views: 149.2ms | ActiveRecord: 3.9ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:11:24 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:11:37 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (10.7ms)
Completed 200 OK in 253ms (Views: 201.5ms | ActiveRecord: 6.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:11:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:11:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:11:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.1ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.0ms)
[1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:38:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.7ms)
Completed 200 OK in 172ms (Views: 152.9ms | ActiveRecord: 3.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:38:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:38:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:38:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:41:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 187ms (Views: 149.8ms | ActiveRecord: 6.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:41:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-02 22:41:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.7ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:41:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:41:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.4ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-02 22:41:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:42:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 188ms (Views: 146.4ms | ActiveRecord: 6.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:42:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-02 22:42:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.6ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:42:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:42:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-02 22:42:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.5ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:51:36 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 259ms (Views: 208.1ms | ActiveRecord: 4.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:51:37 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 4ms (ActiveRecord: 1.0ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:51:37 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:51:37 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:51:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (9.7ms)
Completed 200 OK in 113ms (Views: 92.8ms | ActiveRecord: 4.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:51:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-02 22:51:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.6ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:51:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:51:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.4ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-02 22:51:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:52:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 173ms (Views: 143.5ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:52:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:52:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:52:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:53:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (15.7ms)
Completed 200 OK in 168ms (Views: 140.9ms | ActiveRecord: 4.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:53:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 45ms (Views: 40.2ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-02 22:53:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.8ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:53:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:53:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.9ms)
Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 14ms (Views: 10.4ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-02 22:53:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:54:05 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (9.7ms)
Completed 200 OK in 183ms (Views: 160.7ms | ActiveRecord: 4.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:54:05 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-02 22:54:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.9ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:54:05 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (42.0ms)
Completed 200 OK in 44ms (Views: 43.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:54:05 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-02 22:54:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.7ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:59:05 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 177ms (Views: 160.5ms | ActiveRecord: 3.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:59:05 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:59:05 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:59:05 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 4ms (ActiveRecord: 1.9ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.1ms)
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:59:27 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 163ms (Views: 143.9ms | ActiveRecord: 4.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:59:27 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:59:27 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 22:59:27 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.7ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:01:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 161ms (Views: 146.0ms | ActiveRecord: 3.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:01:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:01:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (40.2ms) Rendered devise/sessions/new.html.erb within layouts/application (41.2ms)
Completed 200 OK in 45ms (Views: 43.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:01:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:03:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.7ms) Rendered devise/sessions/new.html.erb within layouts/application (11.0ms)
Completed 200 OK in 120ms (Views: 104.6ms | ActiveRecord: 3.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:03:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:03:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:03:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.1ms)
Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "admin@admin.com"], ["encrypted_password", "$2a$04$LyAjgI4jUvAaF4gNPCaQ3.fJq1jMBascQ1kCVlH0YwPwZpFFboZtW"], ["created_at", "2020-12-03 02:05:53.688973"], ["updated_at", "2020-12-03 02:05:53.688973"], ["full_name", "Administrador"], ["registration", "000000000"], ["role", 0]]
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "secretary@secretary.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "secretary@secretary.com"], ["encrypted_password", "$2a$04$W5tD/tgPATuUkm5Eyzn0Te.vDLhafQjmBcYpI0lzGzfPaF.3dwn.q"], ["created_at", "2020-12-03 02:05:53.693981"], ["updated_at", "2020-12-03 02:05:53.693981"], ["full_name", "Secretário"], ["registration", "000000000"], ["role", 1]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "professor@professor.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "professor@professor.com"], ["encrypted_password", "$2a$04$sihVonLvQkOXm7DjLUkPsOcGCjB9BX98Xw7t0M95LdUR6640cLM8."], ["created_at", "2020-12-03 02:05:53.697652"], ["updated_at", "2020-12-03 02:05:53.697652"], ["full_name", "Professor"], ["registration", "000000000"], ["role", 2]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "student@student.com"], ["encrypted_password", "$2a$04$7M5muVYQIWurW8wWlqxqze.9hb3zBkHmsk.7hohjPxZkLKuVUi4sa"], ["created_at", "2020-12-03 02:05:53.701305"], ["updated_at", "2020-12-03 02:05:53.701305"], ["full_name", "Aluno"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:05:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (11.7ms)
Completed 200 OK in 117ms (Views: 102.3ms | ActiveRecord: 3.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:05:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:05:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:05:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:05:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:05:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:24:36 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 171ms (Views: 151.2ms | ActiveRecord: 3.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:24:36 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:24:36 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:24:36 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:24:36 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:24:36 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:25:37 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 110ms (Views: 94.1ms | ActiveRecord: 2.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:25:37 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:25:37 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 31ms (Views: 3.3ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:25:37 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:25:37 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:25:37 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:30:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 189ms (Views: 150.0ms | ActiveRecord: 5.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:30:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:30:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:30:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:30:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:30:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:31:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.2ms) Rendered devise/sessions/new.html.erb within layouts/application (8.1ms)
Completed 200 OK in 306ms (Views: 279.1ms | ActiveRecord: 6.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:31:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 1.6ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:31:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:31:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (75.5ms)
Completed 200 OK in 82ms (Views: 80.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:31:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:31:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:32:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 186ms (Views: 149.7ms | ActiveRecord: 3.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:32:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:32:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:32:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:32:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:32:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:37:36 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 184ms (Views: 149.9ms | ActiveRecord: 3.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:37:36 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:37:36 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:37:36 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:37:36 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:37:36 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:57:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 179ms (Views: 156.7ms | ActiveRecord: 6.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:57:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:57:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:57:27 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:57:27 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:57:27 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:57:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 164ms (Views: 142.4ms | ActiveRecord: 4.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:57:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:57:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:57:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-02 23:57:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-02 23:57:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:01:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 203ms (Views: 181.3ms | ActiveRecord: 3.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:01:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 00:01:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:01:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:01:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 00:01:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:04:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 182ms (Views: 146.1ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:04:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 00:04:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:04:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:04:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 00:04:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:04:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 205ms (Views: 156.8ms | ActiveRecord: 5.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:04:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 00:04:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:04:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 00:04:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 00:04:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:51:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (20.4ms)
Completed 200 OK in 185ms (Views: 164.5ms | ActiveRecord: 4.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:51:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 21ms (ActiveRecord: 1.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 12:51:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:51:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:51:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 12:51:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:52:24 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 164ms (Views: 136.1ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:52:24 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 12:52:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:52:24 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:52:24 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 12:52:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:56:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 187ms (Views: 142.6ms | ActiveRecord: 5.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:56:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 12:56:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:56:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:56:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 12:56:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:57:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 174ms (Views: 137.9ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:57:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 12:57:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:57:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 12:57:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 12:57:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:00:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 175ms (Views: 136.6ms | ActiveRecord: 4.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:00:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:00:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.2ms)
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:00:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:00:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:00:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:01:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 171ms (Views: 137.4ms | ActiveRecord: 2.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:01:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:01:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:01:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:01:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:01:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:02:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 179ms (Views: 140.4ms | ActiveRecord: 3.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:02:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:02:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:02:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:02:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:02:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:06:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 172ms (Views: 136.9ms | ActiveRecord: 3.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:06:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:06:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:06:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:06:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:06:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:07:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 154ms (Views: 136.8ms | ActiveRecord: 3.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:07:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:07:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:07:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:07:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:07:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:09:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 148ms (Views: 133.6ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:09:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:09:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:09:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:09:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:09:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:09:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 187ms (Views: 140.5ms | ActiveRecord: 4.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:09:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:09:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:09:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:09:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:09:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:11:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 179ms (Views: 140.6ms | ActiveRecord: 2.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:11:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:11:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:11:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:11:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:11:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:14:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 156ms (Views: 140.5ms | ActiveRecord: 3.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:14:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:14:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:14:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:14:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:14:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 181ms (Views: 146.8ms | ActiveRecord: 3.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:15:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:15:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 192ms (Views: 140.9ms | ActiveRecord: 5.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:15:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:15:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 151ms (Views: 135.8ms | ActiveRecord: 2.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:15:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:15:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:15:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:17:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 186ms (Views: 144.3ms | ActiveRecord: 3.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:17:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:17:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:17:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:17:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:17:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:20:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 168ms (Views: 150.4ms | ActiveRecord: 3.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:20:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:20:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:20:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:20:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:20:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:23:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 150ms (Views: 135.5ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:23:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:23:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:23:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:23:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:23:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:24:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 154ms (Views: 138.7ms | ActiveRecord: 2.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:24:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:24:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:24:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:24:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:24:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:24:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 169ms (Views: 148.5ms | ActiveRecord: 4.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:24:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:24:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:24:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:24:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:24:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:25:05 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 150ms (Views: 135.6ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:25:05 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:25:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:25:05 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:25:05 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:25:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:27:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 195ms (Views: 140.4ms | ActiveRecord: 5.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:27:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:27:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:27:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:27:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:27:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:27:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 167ms (Views: 143.7ms | ActiveRecord: 3.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:27:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:27:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:27:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:27:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:27:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:28:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.0ms)
Completed 200 OK in 193ms (Views: 147.0ms | ActiveRecord: 6.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:28:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:28:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:28:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:28:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:28:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.1ms)
Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:32:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 157ms (Views: 138.3ms | ActiveRecord: 4.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:32:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:32:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:32:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:32:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:32:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 183ms (Views: 146.6ms | ActiveRecord: 4.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:34:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:34:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 185ms (Views: 141.9ms | ActiveRecord: 5.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:34:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:34:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (4.0ms) Rendered devise/sessions/new.html.erb within layouts/application (19.5ms)
Completed 200 OK in 199ms (Views: 177.8ms | ActiveRecord: 4.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:34:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:36:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 167ms (Views: 147.4ms | ActiveRecord: 4.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:36:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:36:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:36:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:36:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:36:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:37:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 228ms (Views: 190.1ms | ActiveRecord: 2.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:37:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:37:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:37:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:37:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:37:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:38:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 167ms (Views: 137.1ms | ActiveRecord: 3.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:38:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:38:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:38:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:38:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:38:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 189ms (Views: 140.9ms | ActiveRecord: 4.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:40:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:40:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 182ms (Views: 138.7ms | ActiveRecord: 4.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:40:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:40:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 158ms (Views: 137.1ms | ActiveRecord: 4.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:40:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:40:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:40:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:44:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 152ms (Views: 135.3ms | ActiveRecord: 3.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:44:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:44:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:44:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:44:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:44:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:47:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 161ms (Views: 143.1ms | ActiveRecord: 4.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:48:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:48:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:48:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:48:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:48:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (3.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.1ms)
Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 3.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:49:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.8ms) Rendered devise/sessions/new.html.erb within layouts/application (10.2ms)
Completed 200 OK in 170ms (Views: 153.2ms | ActiveRecord: 3.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:49:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:49:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:49:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:49:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:49:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:50:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 168ms (Views: 153.4ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:50:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:50:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:50:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:50:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:50:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:52:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 153ms (Views: 137.5ms | ActiveRecord: 3.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:52:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:52:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:52:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:52:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:52:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:53:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 186ms (Views: 144.2ms | ActiveRecord: 6.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:53:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:53:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:53:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:53:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:53:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:54:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (8.3ms)
Completed 200 OK in 159ms (Views: 144.2ms | ActiveRecord: 2.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:54:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:54:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:54:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:54:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:54:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:57:27 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 170ms (Views: 137.3ms | ActiveRecord: 3.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:57:27 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:57:27 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:57:27 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:57:27 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:57:27 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:58:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 172ms (Views: 139.7ms | ActiveRecord: 3.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:58:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:58:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:58:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:58:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:58:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:58:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 154ms (Views: 136.8ms | ActiveRecord: 3.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:58:33 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:58:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:58:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:58:33 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:58:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (0.9ms)
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:59:05 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 189ms (Views: 152.5ms | ActiveRecord: 4.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:59:05 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:59:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:59:05 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 13:59:05 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 13:59:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:00:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 153ms (Views: 135.7ms | ActiveRecord: 4.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:00:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 14:00:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:00:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:00:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 14:00:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:01:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 174ms (Views: 142.3ms | ActiveRecord: 2.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:01:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 14:01:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:01:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:01:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-03 14:01:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (3.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (118.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "secretaria_ppgi_test"[0m
[1m[35m (352.0ms)[0m [1m[35mCREATE DATABASE "secretaria_ppgi_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "request_types" CASCADE[0m
[1m[35m (13.7ms)[0m [1m[35mCREATE TABLE "request_types" ("id" bigserial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "requests" CASCADE[0m
[1m[35m (10.3ms)[0m [1m[35mCREATE TABLE "requests" ("id" bigserial primary key, "request_type_id" bigint, "user_id" bigint, "documents" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_requests_on_request_type_id" ON "requests" ("request_type_id")[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_requests_on_user_id" ON "requests" ("user_id")[0m
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "requirements" CASCADE[0m
[1m[35m (9.8ms)[0m [1m[35mCREATE TABLE "requirements" ("id" bigserial primary key, "requirements" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (11.1ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "full_name" character varying, "registration" character varying, "role" integer)[0m
[1m[35m (7.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (4.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (5.5ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_59d5c2771d"
FOREIGN KEY (“request_type_id”)
REFERENCES "request_types" ("id")
[0m
[1m[35m (3.6ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_8ead8b1e6b"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (9.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201203170755)[0m
[1m[35m (1.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20201113005520), (20201113005619), (20191114163205), (20191114162918);
[0m
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.6ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-12-03 17:17:26.366296"], ["updated_at", "2020-12-03 17:17:26.366296"]]
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:18:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (9.3ms)
Completed 200 OK in 246ms (Views: 227.3ms | ActiveRecord: 4.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:18:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:18:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:18:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 4ms (ActiveRecord: 0.7ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:18:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 153ms (Views: 136.9ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:18:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:18:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:18:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.7ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:19:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 175ms (Views: 138.2ms | ActiveRecord: 3.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:19:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:19:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:19:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.1ms)
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "admin@admin.com"], ["encrypted_password", "$2a$04$z2WcE/Sri8sV3MqZtKOmkuIXZ5HuOfCitVPQb6hJNPIJ3S08tOf3a"], ["created_at", "2020-12-03 17:19:35.283020"], ["updated_at", "2020-12-03 17:19:35.283020"], ["full_name", "Administrador"], ["registration", "000000000"], ["role", 0]]
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "secretary@secretary.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "secretary@secretary.com"], ["encrypted_password", "$2a$04$FhdAI10eYaCxB7Dhp8XCuuFCxvwaCFpxbdkBGxOp9Ihwg3LMIYezm"], ["created_at", "2020-12-03 17:19:35.297045"], ["updated_at", "2020-12-03 17:19:35.297045"], ["full_name", "Secretário"], ["registration", "000000000"], ["role", 1]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "professor@professor.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "professor@professor.com"], ["encrypted_password", "$2a$04$QUxxxLQNdgPNGgayyPzqvebvyWLuo9wDNHmd7Gsi2rDz.ZmAIBICS"], ["created_at", "2020-12-03 17:19:35.301121"], ["updated_at", "2020-12-03 17:19:35.301121"], ["full_name", "Professor"], ["registration", "000000000"], ["role", 2]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "student@student.com"], ["encrypted_password", "$2a$04$HCeRUOxoQ3BZaW.xRkmFK.GHOd4TZbTlNh4803VNVO7ff.gTNsYou"], ["created_at", "2020-12-03 17:19:35.305373"], ["updated_at", "2020-12-03 17:19:35.305373"], ["full_name", "Aluno"], ["registration", "000000000"], ["role", 3]]
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:19:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 170ms (Views: 138.0ms | ActiveRecord: 2.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:19:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 14:19:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-03 14:19:39 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:19:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:19:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 14:19:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-03 14:19:39 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (0.7ms)
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:20:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 167ms (Views: 146.0ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:20:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 14:20:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 14:20:16 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application Rendered requirements/_form.html.erb (2.5ms) Rendered requirements/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 13ms (Views: 5.6ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:20:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:20:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 14:20:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.8ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 14:20:16 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application Rendered requirements/_form.html.erb (1.2ms) Rendered requirements/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:22:35 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 171ms (Views: 139.0ms | ActiveRecord: 3.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:22:35 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 14:22:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 14:22:35 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application Rendered requirements/new.html.erb within layouts/application (0.8ms)
Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 2.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:22:35 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 14:22:35 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 14:22:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 14:22:35 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application Rendered requirements/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:09:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 178ms (Views: 144.5ms | ActiveRecord: 3.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:09:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:09:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:09:22 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 13ms (Views: 4.8ms | ActiveRecord: 3.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:09:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:09:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:09:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:09:22 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:18:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 153ms (Views: 136.5ms | ActiveRecord: 4.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:18:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:18:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:18:29 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 38ms (Views: 3.3ms | ActiveRecord: 3.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:18:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:18:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:18:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:18:29 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:18:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 183ms (Views: 140.4ms | ActiveRecord: 4.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:18:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:18:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:18:44 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 13ms (Views: 5.0ms | ActiveRecord: 2.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:18:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:18:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:18:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:18:44 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:19:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 167ms (Views: 138.2ms | ActiveRecord: 3.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:19:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:19:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:19:26 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 12ms (Views: 4.7ms | ActiveRecord: 3.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:19:26 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:19:26.656142"], ["updated_at", "2020-12-03 18:19:26.656142"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/1 Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET “/requirements/1” for 127.0.0.1 at 2020-12-03 15:19:26 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (1.5ms)
Completed 200 OK in 11ms (Views: 6.4ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:19:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:19:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:19:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:19:26 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:20:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 157ms (Views: 142.7ms | ActiveRecord: 2.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:20:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:20:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:20:32 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 38ms (Views: 3.2ms | ActiveRecord: 2.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:20:32 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.6ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:20:32.690451"], ["updated_at", "2020-12-03 18:20:32.690451"]]
[1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/2 Completed 302 Found in 8ms (ActiveRecord: 1.8ms) Started GET “/requirements/2” for 127.0.0.1 at 2020-12-03 15:20:32 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:20:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:20:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:20:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:20:32 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:21:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 168ms (Views: 137.6ms | ActiveRecord: 4.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:21:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:21:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:21:08 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 10ms (Views: 2.9ms | ActiveRecord: 3.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:21:08 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.6ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:21:08.914173"], ["updated_at", "2020-12-03 18:21:08.914173"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/3 Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Started GET “/requirements/3” for 127.0.0.1 at 2020-12-03 15:21:08 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (1.5ms)
Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.2ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:21:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:21:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:21:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:21:08 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:21:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 187ms (Views: 143.8ms | ActiveRecord: 5.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:21:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:21:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:21:49 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 12ms (Views: 5.3ms | ActiveRecord: 3.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:21:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:21:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:21:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:21:50 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 188ms (Views: 143.1ms | ActiveRecord: 6.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 14ms (Views: 6.0ms | ActiveRecord: 2.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.3ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:22:15.438999"], ["updated_at", "2020-12-03 18:22:15.438999"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/4 Completed 302 Found in 3ms (ActiveRecord: 0.5ms) Started GET “/requirements/4” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.5ms)
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", ""], ["created_at", "2020-12-03 18:22:15.490332"], ["updated_at", "2020-12-03 18:22:15.490332"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/5 Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET “/requirements/5” for 127.0.0.1 at 2020-12-03 15:22:15 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:24:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 153ms (Views: 136.9ms | ActiveRecord: 3.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:24:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:24:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:24:55 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 11ms (Views: 3.3ms | ActiveRecord: 2.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:24:55 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:24:55.281335"], ["updated_at", "2020-12-03 18:24:55.281335"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/6 Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET “/requirements/6” for 127.0.0.1 at 2020-12-03 15:24:55 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (1.3ms)
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:24:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:24:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:24:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:24:55 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:24:55 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:35:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 151ms (Views: 136.4ms | ActiveRecord: 2.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:35:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:35:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:35:50 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 15ms (Views: 6.0ms | ActiveRecord: 3.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:35:50 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:35:50.540457"], ["updated_at", "2020-12-03 18:35:50.540457"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/7 Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET “/requirements/7” for 127.0.0.1 at 2020-12-03 15:35:50 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.5ms)
Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:35:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:35:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:35:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:35:50 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 36ms (Views: 34.9ms | ActiveRecord: 0.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:35:50 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:39:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 163ms (Views: 147.9ms | ActiveRecord: 2.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:39:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:39:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:39:11 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 10ms (Views: 3.0ms | ActiveRecord: 3.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:39:11 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:39:11.695993"], ["updated_at", "2020-12-03 18:39:11.695993"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/8 Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET “/requirements/8” for 127.0.0.1 at 2020-12-03 15:39:11 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (2.0ms)
Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:39:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:39:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:39:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:39:11 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:39:11 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 9ms (Views: 2.0ms | ActiveRecord: 1.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:39:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (3.2ms) Rendered devise/sessions/new.html.erb within layouts/application (9.1ms)
Completed 200 OK in 170ms (Views: 154.6ms | ActiveRecord: 3.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:39:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:39:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:39:39 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 13ms (Views: 5.2ms | ActiveRecord: 3.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:39:39 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.3ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:39:39.495657"], ["updated_at", "2020-12-03 18:39:39.495657"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/9 Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET “/requirements/9” for 127.0.0.1 at 2020-12-03 15:39:39 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:39:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:39:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:39:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:39:39 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:39:39 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 1.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:40:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 154ms (Views: 137.6ms | ActiveRecord: 3.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:40:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:40:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:40:08 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 10ms (Views: 2.9ms | ActiveRecord: 3.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:40:08 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (1.1ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:40:08.292786"], ["updated_at", "2020-12-03 18:40:08.292786"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/10 Completed 302 Found in 8ms (ActiveRecord: 2.1ms) Started GET “/requirements/10” for 127.0.0.1 at 2020-12-03 15:40:08 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (1.5ms)
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:40:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:40:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:40:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:40:08 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (33.7ms)
Completed 200 OK in 35ms (Views: 34.7ms | ActiveRecord: 0.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:40:08 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:40:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (7.4ms)
Completed 200 OK in 159ms (Views: 142.8ms | ActiveRecord: 3.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:40:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:40:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:40:45 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 13ms (Views: 5.0ms | ActiveRecord: 3.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:40:45 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (1.0ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:40:45.248509"], ["updated_at", "2020-12-03 18:40:45.248509"]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/11 Completed 302 Found in 9ms (ActiveRecord: 2.3ms) Started GET “/requirements/11” for 127.0.0.1 at 2020-12-03 15:40:45 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.6ms)
Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.4ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" LIMIT $1[0m [["LIMIT", 11]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:40:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:40:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:40:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 57ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:40:45 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:40:45 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:41:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 178ms (Views: 143.9ms | ActiveRecord: 3.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:41:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:41:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:41:31 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 11ms (Views: 4.1ms | ActiveRecord: 3.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:41:31 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:41:31.071416"], ["updated_at", "2020-12-03 18:41:31.071416"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/12 Completed 302 Found in 5ms (ActiveRecord: 1.2ms) Started GET “/requirements/12” for 127.0.0.1 at 2020-12-03 15:41:31 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (1.4ms)
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:41:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:41:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:41:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:41:31 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:41:31 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (4.4ms)
Completed 200 OK in 14ms (Views: 7.1ms | ActiveRecord: 1.6ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:42:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 172ms (Views: 142.4ms | ActiveRecord: 2.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:42:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:42:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:42:29 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 10ms (Views: 2.9ms | ActiveRecord: 3.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:42:29 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 18:42:29.731044"], ["updated_at", "2020-12-03 18:42:29.731044"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/13 Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET “/requirements/13” for 127.0.0.1 at 2020-12-03 15:42:29 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.6ms)
Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.8ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:42:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 15:42:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 15:42:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 15:42:29 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 1.0ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 15:42:29 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:05:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (9.6ms)
Completed 200 OK in 171ms (Views: 148.5ms | ActiveRecord: 5.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:05:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:05:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:05:57 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 9ms (Views: 2.9ms | ActiveRecord: 2.0ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:05:57 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 19:05:57.026860"], ["updated_at", "2020-12-03 19:05:57.026860"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Destroy (0.2ms)[0m [1m[31mDELETE FROM "requirements" WHERE "requirements"."id" = $1[0m [["id", 14]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/14 Completed 302 Found in 5ms (ActiveRecord: 1.3ms) Started GET “/requirements/14” for 127.0.0.1 at 2020-12-03 16:05:57 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Completed 404 Not Found in 1ms (ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:05:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:05:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:05:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.8ms)
Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 1.1ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:05:57 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 1.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:05:57 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:07:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 171ms (Views: 140.1ms | ActiveRecord: 2.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:07:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:07:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:07:23 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 10ms (Views: 3.1ms | ActiveRecord: 3.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:07:23 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.6ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 19:07:23.512499"], ["updated_at", "2020-12-03 19:07:23.512499"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Destroy (0.3ms)[0m [1m[31mDELETE FROM "requirements" WHERE "requirements"."id" = $1[0m [["id", 15]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/15 Completed 302 Found in 9ms (ActiveRecord: 2.1ms) Started GET “/requirements/15” for 127.0.0.1 at 2020-12-03 16:07:23 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:07:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:07:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:07:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:07:23 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:07:23 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:08:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 166ms (Views: 142.3ms | ActiveRecord: 5.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:08:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:08:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:08:04 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 10ms (Views: 3.0ms | ActiveRecord: 3.0ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:08:04 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.7ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 19:08:04.479354"], ["updated_at", "2020-12-03 19:08:04.479354"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (1.0ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Destroy (0.4ms)[0m [1m[31mDELETE FROM "requirements" WHERE "requirements"."id" = $1[0m [["id", 16]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/requirements/16 Completed 302 Found in 12ms (ActiveRecord: 3.2ms) Started GET “/requirements/16” for 127.0.0.1 at 2020-12-03 16:08:04 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
Completed 404 Not Found in 2ms (ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:08:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:08:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:08:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:08:04 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:08:04 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:12:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 156ms (Views: 137.4ms | ActiveRecord: 4.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:12:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:12:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:12:11 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 16ms (Views: 7.9ms | ActiveRecord: 4.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:12:11 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (1.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 19:12:11.953815"], ["updated_at", "2020-12-03 19:12:11.953815"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements/17 Completed 302 Found in 8ms (ActiveRecord: 2.1ms) Started GET “/requirements/17” for 127.0.0.1 at 2020-12-03 16:12:11 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"17"}
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.6ms)
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.3ms)
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:12:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:12:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:12:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:12:12 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (49.8ms)
Completed 200 OK in 53ms (Views: 51.9ms | ActiveRecord: 0.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:12:12 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:13:24 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 170ms (Views: 138.4ms | ActiveRecord: 3.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:13:24 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:13:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:13:24 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 11ms (Views: 3.1ms | ActiveRecord: 3.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:13:24 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (1.2ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 19:13:24.977349"], ["updated_at", "2020-12-03 19:13:24.977349"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements/18 Completed 302 Found in 9ms (ActiveRecord: 2.2ms) Started GET “/requirements/18” for 127.0.0.1 at 2020-12-03 16:13:24 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:13:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:13:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:13:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:13:25 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 1.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:13:25 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:23:27 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (10.9ms)
Completed 200 OK in 314ms (Views: 278.7ms | ActiveRecord: 8.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:23:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:23:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.6ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:23:28 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (9.4ms)
Completed 200 OK in 23ms (Views: 12.6ms | ActiveRecord: 3.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:23:28 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (1.1ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 19:23:28.093071"], ["updated_at", "2020-12-03 19:23:28.093071"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements/19 Completed 302 Found in 10ms (ActiveRecord: 3.1ms) Started GET “/requirements/19” for 127.0.0.1 at 2020-12-03 16:23:28 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"19"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:23:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 16:23:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-03 16:23:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 16:23:28 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (42.0ms)
Completed 200 OK in 45ms (Views: 42.9ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 16:23:28 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:03:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.6ms) Rendered devise/sessions/new.html.erb within layouts/application (16.3ms)
Completed 200 OK in 213ms (Views: 207.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:03:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:03:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:03:44 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 13ms (Views: 4.6ms | ActiveRecord: 3.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:03:44 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (1.1ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 20:03:44.693925"], ["updated_at", "2020-12-03 20:03:44.693925"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements/20 Completed 302 Found in 7ms (ActiveRecord: 2.0ms) Started GET “/requirements/20” for 127.0.0.1 at 2020-12-03 17:03:44 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"20"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (1.1ms)
Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:03:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:03:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:03:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:03:44 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (57.8ms)
Completed 200 OK in 62ms (Views: 58.8ms | ActiveRecord: 2.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:03:44 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (3.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:04:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.7ms) Rendered devise/sessions/new.html.erb within layouts/application (10.4ms)
Completed 200 OK in 226ms (Views: 217.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:04:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:04:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:04:15 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 19ms (Views: 4.0ms | ActiveRecord: 7.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:04:15 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 20:04:15.844670"], ["updated_at", "2020-12-03 20:04:15.844670"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements/21 Completed 302 Found in 8ms (ActiveRecord: 1.7ms) Started GET “/requirements/21” for 127.0.0.1 at 2020-12-03 17:04:15 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"21"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (1.8ms)
Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:04:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 9ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:04:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:04:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.8ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:04:15 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:04:15 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:06:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.6ms) Rendered devise/sessions/new.html.erb within layouts/application (15.7ms)
Completed 200 OK in 316ms (Views: 304.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:06:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:06:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:06:41 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 19ms (Views: 5.2ms | ActiveRecord: 3.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:06:41 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (1.1ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 20:06:41.796523"], ["updated_at", "2020-12-03 20:06:41.796523"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (3.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements/22 Completed 302 Found in 12ms (ActiveRecord: 5.2ms) Started GET “/requirements/22” for 127.0.0.1 at 2020-12-03 17:06:41 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"22"}
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:06:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:06:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:06:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:06:41 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 1.0ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:06:41 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (6.7ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 17ms (Views: 5.0ms | ActiveRecord: 7.5ms)
[1m[35m (3.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (4.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:07:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (4.5ms) Rendered devise/sessions/new.html.erb within layouts/application (20.0ms)
Completed 200 OK in 301ms (Views: 289.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:07:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:07:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:07:08 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 21ms (Views: 7.8ms | ActiveRecord: 4.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:07:08 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.7ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 20:07:08.560842"], ["updated_at", "2020-12-03 20:07:08.560842"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements/23 Completed 302 Found in 9ms (ActiveRecord: 1.6ms) Started GET “/requirements/23” for 127.0.0.1 at 2020-12-03 17:07:08 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"23"}
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (1.1ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms)
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:07:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:07:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:07:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:07:08 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:07:08 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin4343434343@admin.com"], ["LIMIT", 1]] [1m[35m (5.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin4343434343@admin.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:18:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (8.1ms)
Completed 200 OK in 207ms (Views: 197.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:18:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 4ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:18:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:18:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:19:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.5ms) Rendered devise/sessions/new.html.erb within layouts/application (12.1ms)
Completed 200 OK in 202ms (Views: 194.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:19:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 5ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:19:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:19:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 8ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.5ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:23:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (4.9ms) Rendered devise/sessions/new.html.erb within layouts/application (19.4ms)
Completed 200 OK in 271ms (Views: 264.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:23:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:23:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:23:50 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (8.2ms)
Completed 200 OK in 24ms (Views: 12.7ms | ActiveRecord: 4.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:23:50 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 20:23:50.865440"], ["updated_at", "2020-12-03 20:23:50.865440"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements/24 Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET “/requirements/24” for 127.0.0.1 at 2020-12-03 17:23:50 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"24"}
[1m[36mRequirement Load (2.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 2.4ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:23:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:23:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:23:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:23:50 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:23:50 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:26:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (8.0ms)
Completed 200 OK in 187ms (Views: 178.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:26:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:26:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:26:02 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 12ms (Views: 3.3ms | ActiveRecord: 4.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:26:02 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-03 20:26:02.967859"], ["updated_at", "2020-12-03 20:26:02.967859"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements/25 Completed 302 Found in 6ms (ActiveRecord: 1.4ms) Started GET “/requirements/25” for 127.0.0.1 at 2020-12-03 17:26:02 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"25"}
[1m[36mRequirement Load (2.0ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 8ms (Views: 2.1ms | ActiveRecord: 2.0ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:26:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:26:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:26:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.7ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:26:03 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:26:03 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 10ms (Views: 4.1ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:33:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (13.0ms)
Completed 200 OK in 207ms (Views: 193.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:33:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:33:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:33:41 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 21ms (Views: 9.6ms | ActiveRecord: 4.4ms)
[1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:33:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 17:33:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-03 17:33:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.7ms)
Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 1.0ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-03 17:33:42 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-03 17:33:42 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 10ms (Views: 6.3ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (115.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "secretaria_ppgi_test"[0m
[1m[35m (333.0ms)[0m [1m[35mCREATE DATABASE "secretaria_ppgi_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "budgets" CASCADE[0m
[1m[35m (15.1ms)[0m [1m[35mCREATE TABLE "budgets" ("id" bigserial primary key, "value" decimal, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "request_types" CASCADE[0m
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "request_types" ("id" bigserial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "requests" CASCADE[0m
[1m[35m (10.1ms)[0m [1m[35mCREATE TABLE "requests" ("id" bigserial primary key, "request_type_id" bigint, "user_id" bigint, "documents" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_requests_on_request_type_id" ON "requests" ("request_type_id")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_requests_on_user_id" ON "requests" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "requirements" CASCADE[0m
[1m[35m (7.1ms)[0m [1m[35mCREATE TABLE "requirements" ("id" bigserial primary key, "requirements" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (7.6ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "full_name" character varying, "registration" character varying, "role" integer)[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.5ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_59d5c2771d"
FOREIGN KEY (“request_type_id”)
REFERENCES "request_types" ("id")
[0m
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_8ead8b1e6b"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201203212607)[0m
[1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20201113005520), (20201113005619), (20191114163205), (20201203170755), (20191114162918);
[0m
[1m[35m (9.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (1.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-12-03 21:35:57.516196"], ["updated_at", "2020-12-03 21:35:57.516196"]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "admin@admin.com"], ["encrypted_password", "$2a$04$QBE7a.bRqFQrZxoTQZcEAuRj8G.GyPhZvrLRLQ8hkTZ5NYJrt0RAG"], ["created_at", "2020-12-03 22:12:53.161935"], ["updated_at", "2020-12-03 22:12:53.161935"], ["full_name", "Administrador"], ["registration", "000000000"], ["role", 0]]
[1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "secretary@secretary.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "secretary@secretary.com"], ["encrypted_password", "$2a$04$rnfL4X2EkT7RB6Ofm/DQZOcsSwz0Dmbi4J62.MQ9IAxIh3amJK5J."], ["created_at", "2020-12-03 22:12:53.168926"], ["updated_at", "2020-12-03 22:12:53.168926"], ["full_name", "Secretário"], ["registration", "000000000"], ["role", 1]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "professor@professor.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "professor@professor.com"], ["encrypted_password", "$2a$04$yI388BNlK26MdXqo/Y4QyesM11b2hPDuEeNSKgigktTGbRIw20/am"], ["created_at", "2020-12-03 22:12:53.173660"], ["updated_at", "2020-12-03 22:12:53.173660"], ["full_name", "Professor"], ["registration", "000000000"], ["role", 2]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "student@student.com"], ["encrypted_password", "$2a$04$zSeqgWjbAOpzPvnfMqx6seLMFKgSb9JEljHCbhBwcEnRaDdGYBTeK"], ["created_at", "2020-12-03 22:12:53.178465"], ["updated_at", "2020-12-03 22:12:53.178465"], ["full_name", "Aluno"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:12:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (9.8ms)
Completed 200 OK in 256ms (Views: 245.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:12:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:12:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.3ms)
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:12:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:12:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:12:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.4ms)
Completed 200 OK in 10ms (Views: 6.1ms | ActiveRecord: 2.9ms)
[1m[35m (5.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:13:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (13.1ms)
Completed 200 OK in 202ms (Views: 192.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:13:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:13:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:13:45 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (5.1ms)
Completed 200 OK in 10ms (Views: 5.1ms | ActiveRecord: 3.3ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.6ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.0"], ["created_at", "2020-12-03 22:13:45.434470"], ["updated_at", "2020-12-03 22:13:45.434470"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:13:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:13:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:13:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 10ms (Views: 5.9ms | ActiveRecord: 0.8ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:13:45 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 64ms (Views: 62.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:16:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (10.8ms)
Completed 200 OK in 217ms (Views: 207.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:16:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:16:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:16:07 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 1.5ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.0"], ["created_at", "2020-12-03 22:16:07.391150"], ["updated_at", "2020-12-03 22:16:07.391150"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (1.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:16:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:16:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:16:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.4ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:16:07 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:17:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (9.2ms)
Completed 200 OK in 200ms (Views: 189.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:17:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:17:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:17:32 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.0ms)
Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.0"], ["created_at", "2020-12-03 22:17:32.036919"], ["updated_at", "2020-12-03 22:17:32.036919"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:17:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (7.2ms)
Completed 200 OK in 12ms (Views: 9.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:17:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:17:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (4.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.1ms)
Completed 200 OK in 14ms (Views: 8.6ms | ActiveRecord: 4.5ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:17:32 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.9ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:18:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (5.2ms) Rendered devise/sessions/new.html.erb within layouts/application (22.5ms)
Completed 200 OK in 220ms (Views: 210.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:18:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:18:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:18:49 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (5.4ms)
Completed 200 OK in 10ms (Views: 6.4ms | ActiveRecord: 2.4ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.0"], ["created_at", "2020-12-03 22:18:49.135682"], ["updated_at", "2020-12-03 22:18:49.135682"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:18:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:18:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:18:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.4ms)
Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.4ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:18:49 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:20:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (10.5ms)
Completed 200 OK in 195ms (Views: 183.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:20:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:20:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:20:29 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.6ms)
Completed 200 OK in 11ms (Views: 7.1ms | ActiveRecord: 2.3ms)
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.0"], ["created_at", "2020-12-03 22:20:29.272290"], ["updated_at", "2020-12-03 22:20:29.272290"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (1.9ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:20:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:20:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:20:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.4ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:20:29 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:21:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (15.9ms)
Completed 200 OK in 200ms (Views: 194.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:21:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:21:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:21:17 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 8ms (Views: 4.2ms | ActiveRecord: 1.9ms)
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:21:17.682696"], ["updated_at", "2020-12-03 22:21:17.682696"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:21:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:21:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:21:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.9ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:21:17 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.8ms)
Completed 200 OK in 56ms (Views: 53.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:25:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 179ms (Views: 172.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:25:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:25:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:25:12 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.9ms)
Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 1.9ms)
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:25:12.263355"], ["updated_at", "2020-12-03 22:25:12.263355"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:25:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:25:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:25:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.4ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:25:12 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:26:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (15.0ms)
Completed 200 OK in 200ms (Views: 189.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:26:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:26:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:26:45 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 8ms (Views: 4.1ms | ActiveRecord: 2.3ms)
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.9ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:26:45.462663"], ["updated_at", "2020-12-03 22:26:45.462663"]]
[1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:26:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:26:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:26:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.5ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:26:45 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:30:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.5ms) Rendered devise/sessions/new.html.erb within layouts/application (16.1ms)
Completed 200 OK in 205ms (Views: 197.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:30:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:30:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:30:52 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 1.6ms)
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:30:52.533089"], ["updated_at", "2020-12-03 22:30:52.533089"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:30:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:30:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:30:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.6ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:30:52 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:32:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (7.3ms)
Completed 200 OK in 184ms (Views: 175.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:32:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:32:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.4ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:32:02 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 1.6ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:32:02.422134"], ["updated_at", "2020-12-03 22:32:02.422134"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:32:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:32:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:32:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:32:02 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:33:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (9.6ms)
Completed 200 OK in 187ms (Views: 179.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:33:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:33:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:33:28 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 1.8ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:33:28.262167"], ["updated_at", "2020-12-03 22:33:28.262167"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:33:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:33:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:33:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:33:28 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 70ms (Views: 67.0ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:35:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.6ms) Rendered devise/sessions/new.html.erb within layouts/application (21.2ms)
Completed 200 OK in 227ms (Views: 218.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:35:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:35:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:35:46 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.6ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:35:46.575750"], ["updated_at", "2020-12-03 22:35:46.575750"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:35:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:35:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 1.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:35:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 1.5ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:35:46 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.8ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:44:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (11.0ms)
Completed 200 OK in 196ms (Views: 188.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:44:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:44:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:44:53 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.4ms)
Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 2.4ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:44:54.005193"], ["updated_at", "2020-12-03 22:44:54.005193"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:44:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:44:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:44:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.8ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:44:54 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:45:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 199ms (Views: 189.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:45:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:45:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:45:33 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (1.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.8ms)
Completed 200 OK in 14ms (Views: 8.8ms | ActiveRecord: 2.9ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:45:33.044263"], ["updated_at", "2020-12-03 22:45:33.044263"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:45:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:45:33 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:45:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:45:33 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:49:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (13.9ms)
Completed 200 OK in 200ms (Views: 191.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:49:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:49:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:49:44 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:49:44.111609"], ["updated_at", "2020-12-03 22:49:44.111609"]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:49:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:49:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:49:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:49:44 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:53:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.3ms) Rendered devise/sessions/new.html.erb within layouts/application (11.3ms)
Completed 200 OK in 207ms (Views: 197.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:53:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:53:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:53:13 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 10ms (Views: 5.8ms | ActiveRecord: 1.9ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:53:13.763680"], ["updated_at", "2020-12-03 22:53:13.763680"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:53:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:53:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:53:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:53:13 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:53:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.6ms) Rendered devise/sessions/new.html.erb within layouts/application (10.9ms)
Completed 200 OK in 191ms (Views: 185.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:53:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:53:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:53:35 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (1.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (7.6ms)
Completed 200 OK in 11ms (Views: 4.5ms | ActiveRecord: 5.2ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-03 22:53:35.039197"], ["updated_at", "2020-12-03 22:53:35.039197"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:53:35 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 19:53:35 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 19:53:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 19:53:35 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.5ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:09:19 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (11.2ms)
Completed 200 OK in 158ms (Views: 153.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:09:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:09:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:09:20 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 1.9ms)
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.7ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:09:20.074199"], ["updated_at", "2020-12-04 02:09:20.074199"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:09:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:09:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:09:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:09:20 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.7ms)
Completed 200 OK in 40ms (Views: 38.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:16:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 150ms (Views: 143.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:16:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:16:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:16:16 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 1.7ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.6ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:16:16.635768"], ["updated_at", "2020-12-04 02:16:16.635768"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:16:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:16:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:16:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.8ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:16:16 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.8ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:32:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (10.1ms)
Completed 200 OK in 149ms (Views: 143.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:32:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:32:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:32:58 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 1.5ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:32:58.572954"], ["updated_at", "2020-12-04 02:32:58.572954"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:32:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:32:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:32:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:32:58 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.8ms)
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.3ms)
[1m[35m (4.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:34:06 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 162ms (Views: 154.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:34:06 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:34:06 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:34:06 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 1.1ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:34:06.434526"], ["updated_at", "2020-12-04 02:34:06.434526"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:34:06 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:34:06 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:34:06 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:34:06 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.8ms)
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:34:37 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (7.8ms)
Completed 200 OK in 145ms (Views: 139.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:34:37 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:34:37 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:34:37 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 1.4ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.6ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:34:37.831863"], ["updated_at", "2020-12-04 02:34:37.831863"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:34:37 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:34:37 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:34:37 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:34:37 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:35:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 156ms (Views: 149.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:35:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:35:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:35:07 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 1.7ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:35:07.956700"], ["updated_at", "2020-12-04 02:35:07.956700"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:35:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:35:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:35:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:35:08 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (34.6ms)
Completed 200 OK in 37ms (Views: 35.6ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:35:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 148ms (Views: 140.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:35:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:35:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:35:48 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 1.1ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:35:48.307464"], ["updated_at", "2020-12-04 02:35:48.307464"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:35:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:35:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:35:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:35:48 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:37:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.8ms) Rendered devise/sessions/new.html.erb within layouts/application (9.5ms)
Completed 200 OK in 168ms (Views: 160.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:37:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:37:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:37:42 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 2.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.1ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:37:42.897455"], ["updated_at", "2020-12-04 02:37:42.897455"]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:37:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:37:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:37:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:37:42 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:41:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (4.3ms) Rendered devise/sessions/new.html.erb within layouts/application (10.3ms)
Completed 200 OK in 170ms (Views: 163.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:41:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:41:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:41:11 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 1.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:41:11.221274"], ["updated_at", "2020-12-04 02:41:11.221274"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:41:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:41:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:41:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.5ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:41:11 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:41:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (3.5ms) Rendered devise/sessions/new.html.erb within layouts/application (14.1ms)
Completed 200 OK in 175ms (Views: 168.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:41:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:41:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:41:21 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 1.6ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:41:21.485251"], ["updated_at", "2020-12-04 02:41:21.485251"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:41:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:41:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:41:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:41:21 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.8ms)
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:43:06 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 154ms (Views: 144.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:43:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:43:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:43:07 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 1.7ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:43:07.055782"], ["updated_at", "2020-12-04 02:43:07.055782"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:43:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:43:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:43:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.4ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:43:07 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.7ms)
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:43:19 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 135ms (Views: 129.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:43:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:43:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:43:20 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 1.3ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:43:20.066169"], ["updated_at", "2020-12-04 02:43:20.066169"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:43:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:43:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:43:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.5ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:43:20 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.6ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:57:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 146ms (Views: 139.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:57:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:57:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:57:57 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 1.7ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 02:57:57.844186"], ["updated_at", "2020-12-04 02:57:57.844186"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:57:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-03 23:57:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-03 23:57:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-03 23:57:57 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (33.7ms)
Completed 200 OK in 36ms (Views: 35.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 00:02:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (7.3ms)
Completed 200 OK in 160ms (Views: 152.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 00:02:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 00:02:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 00:02:12 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 1.8ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 03:02:12.067371"], ["updated_at", "2020-12-04 03:02:12.067371"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 00:02:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 00:02:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 00:02:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.5ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 00:02:12 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.8ms)
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:30:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (15.2ms)
Completed 200 OK in 172ms (Views: 164.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:30:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:30:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:30:46 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 1.3ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:30:46.812228"], ["updated_at", "2020-12-04 13:30:46.812228"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:30:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:30:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:30:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:30:46 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.8ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:31:37 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.9ms) Rendered devise/sessions/new.html.erb within layouts/application (7.2ms)
Completed 200 OK in 155ms (Views: 150.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:31:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:31:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:31:38 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 1.4ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.6ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:31:38.091491"], ["updated_at", "2020-12-04 13:31:38.091491"]]
[1m[35m (1.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:31:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:31:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:31:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.4ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:31:38 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.7ms)
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:31:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 150ms (Views: 144.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:31:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:31:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:31:51 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 1.5ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.6ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:31:51.537827"], ["updated_at", "2020-12-04 13:31:51.537827"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:31:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:31:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:31:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:31:51 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.7ms)
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.2ms)
[1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 161ms (Views: 155.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:32:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:32:21 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.9ms)
Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 2.6ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:32:21.877829"], ["updated_at", "2020-12-04 13:32:21.877829"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:32:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:32:21 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.8ms)
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 156ms (Views: 149.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:32:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:32:32 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 1.6ms)
[1m[36mBudget Load (0.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:32:32.350083"], ["updated_at", "2020-12-04 13:32:32.350083"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:32:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:32:32 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.8ms)
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (4.7ms) Rendered devise/sessions/new.html.erb within layouts/application (12.8ms)
Completed 200 OK in 161ms (Views: 155.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:32:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:32:56 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 1.5ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:32:56.240010"], ["updated_at", "2020-12-04 13:32:56.240010"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:32:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:32:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:32:56 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.8ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:33:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 192ms (Views: 185.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:33:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:33:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:33:15 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.8ms)
Completed 500 Internal Server Error in 7ms (ActiveRecord: 2.1ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:33:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:33:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:33:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 1.0ms) Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:33:15 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.3ms)
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:39:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 158ms (Views: 151.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:39:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:39:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:39:50.124943"], ["updated_at", "2020-12-04 13:39:50.124943"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:39:50 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] Rendered budgets/index.html.erb within layouts/application (47.1ms)
Completed 500 Internal Server Error in 49ms (ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:39:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:39:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 39ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:39:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:39:50.239784"], ["updated_at", "2020-12-04 13:39:50.239784"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:39:50 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] [1m[36mCACHE Budget Load (0.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets" LIMIT $1[0m [["LIMIT", 11]] Rendered budgets/index.html.erb within layouts/application (25.5ms)
Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:40:35 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (7.3ms)
Completed 200 OK in 158ms (Views: 151.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:40:36 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:40:36 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.0ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:40:36.086842"], ["updated_at", "2020-12-04 13:40:36.086842"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:40:36 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:40:36 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.6ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:40:36 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:40:36 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.2ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:40:36.137791"], ["updated_at", "2020-12-04 13:40:36.137791"]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:40:36 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.9ms)
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:40:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.7ms) Rendered devise/sessions/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 154ms (Views: 148.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:40:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:40:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:40:55.933053"], ["updated_at", "2020-12-04 13:40:55.933053"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:40:55 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:40:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:40:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:40:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:40:55.989764"], ["updated_at", "2020-12-04 13:40:55.989764"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:40:56 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:49:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 152ms (Views: 146.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:49:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:49:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.8ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:49:18.603393"], ["updated_at", "2020-12-04 13:49:18.603393"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:49:18 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Destroy (0.6ms)[0m [1m[31mDELETE FROM "budgets" WHERE "budgets"."id" = $1[0m [["id", 75]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:49:18.624296"], ["updated_at", "2020-12-04 13:49:18.624296"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:49:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:49:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:49:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:49:18.670751"], ["updated_at", "2020-12-04 13:49:18.670751"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:49:18 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 30ms (Views: 29.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:49:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (14.7ms)
Completed 200 OK in 162ms (Views: 157.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:49:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:49:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.7ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:49:49.363560"], ["updated_at", "2020-12-04 13:49:49.363560"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (2.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (1.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:49:49 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 14ms (Views: 7.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:49:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:49:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:49:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
[1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:51:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 161ms (Views: 153.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:51:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:51:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:51:02.762588"], ["updated_at", "2020-12-04 13:51:02.762588"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:51:02 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.3ms)
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:51:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:51:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:51:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:51:02 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mBudget Load (1.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 1.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:52:19 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 151ms (Views: 143.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:52:19 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:52:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:52:19.985604"], ["updated_at", "2020-12-04 13:52:19.985604"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:52:19 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application Rendered budgets/index.html.erb within layouts/application (0.9ms)
Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:52:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:52:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:52:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.2ms)
Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 1.9ms)
[1m[36mBudget Load (1.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:52:20 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application Rendered budgets/index.html.erb within layouts/application (0.6ms)
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:52:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 149ms (Views: 142.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:52:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:52:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 13:52:32.341478"], ["updated_at", "2020-12-04 13:52:32.341478"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:52:32 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (5.7ms)
Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:52:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 10:52:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 10:52:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 10:52:32 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.4ms)
[1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 12:57:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (9.2ms)
Completed 200 OK in 98ms (Views: 93.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 12:57:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 12:57:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 15:57:30.932754"], ["updated_at", "2020-12-04 15:57:30.932754"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 12:57:30 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (5.7ms)
Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 1.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 12:57:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 12:57:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 12:57:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 12:57:30 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "admin@admin.com"], ["encrypted_password", "$2a$04$HyZQXjsUp5Z6aFc.sRDR1eQUP9caqP3jk9BZ.FWWSKV.FzKa/rrPu"], ["created_at", "2020-12-04 16:05:57.980260"], ["updated_at", "2020-12-04 16:05:57.980260"], ["full_name", "Administrador"], ["registration", "000000000"], ["role", 0]]
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "secretary@secretary.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "secretary@secretary.com"], ["encrypted_password", "$2a$04$A19c521Z.jD1A8xgjXJgnu3yUs8EP/P/0SfA9/sgT7jYLCrLM4ooS"], ["created_at", "2020-12-04 16:05:57.984582"], ["updated_at", "2020-12-04 16:05:57.984582"], ["full_name", "Secretário"], ["registration", "000000000"], ["role", 1]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "professor@professor.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "professor@professor.com"], ["encrypted_password", "$2a$04$Q2rmdCGCV6E6IhmZlAoj0.n7ulu3P7pcQ89M6k68Yvb.jSsqCjvku"], ["created_at", "2020-12-04 16:05:57.988376"], ["updated_at", "2020-12-04 16:05:57.988376"], ["full_name", "Professor"], ["registration", "000000000"], ["role", 2]]
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "student@student.com"], ["encrypted_password", "$2a$04$ABTaUuegFwgEdT9vOXBUiu/0MVsY6k5/7z503h0qvf/XF/dsx2tRu"], ["created_at", "2020-12-04 16:05:57.997787"], ["updated_at", "2020-12-04 16:05:57.997787"], ["full_name", "Aluno"], ["registration", "000000000"], ["role", 3]]
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 13:14:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 96ms (Views: 89.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 13:14:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 13:14:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 16:14:56.221007"], ["updated_at", "2020-12-04 16:14:56.221007"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 13:14:56 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 13:14:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 13:14:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 13:14:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 13:14:56 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to CreateDiaria (20201204012658)
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (6.9ms)[0m [1m[35mCREATE TABLE "diaria" ("id" bigserial primary key, "data_entrada" character varying, "data_saida" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201204012658"]]
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (1.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (1.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:17:10 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 217ms (Views: 192.1ms | ActiveRecord: 3.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:17:10 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:17:10 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 14:17:10 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (2.5ms) Rendered diaria/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 14ms (Views: 5.5ms | ActiveRecord: 2.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:17:10 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:17:10 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (3.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 3.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:17:10 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 14:17:10 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (3.0ms) Rendered diaria/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:18:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 147ms (Views: 126.8ms | ActiveRecord: 4.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:18:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:18:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 14:18:31 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (2.5ms) Rendered diaria/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 15ms (Views: 6.4ms | ActiveRecord: 3.1ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:18:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:18:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:18:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 14:18:31 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (1.6ms) Rendered diaria/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:19:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (8.2ms)
Completed 200 OK in 120ms (Views: 101.1ms | ActiveRecord: 3.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:19:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:19:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 34ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 14:19:04 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (2.8ms) Rendered diaria/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 17ms (Views: 6.7ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:19:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:19:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:19:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.6ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 14:19:04 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (3.0ms) Rendered diaria/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:20:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (7.6ms)
Completed 200 OK in 142ms (Views: 122.2ms | ActiveRecord: 3.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:20:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:20:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 37ms (Views: 36.2ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 14:20:49 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (2.4ms) Rendered diaria/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 16ms (Views: 5.5ms | ActiveRecord: 3.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:20:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:20:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:20:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 14:20:49 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (1.1ms) Rendered diaria/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (125.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "secretaria_ppgi_test"[0m
[1m[35m (268.9ms)[0m [1m[35mCREATE DATABASE "secretaria_ppgi_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "budgets" CASCADE[0m
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "budgets" ("id" bigserial primary key, "value" decimal, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "diaria" CASCADE[0m
[1m[35m (11.4ms)[0m [1m[35mCREATE TABLE "diaria" ("id" bigserial primary key, "data_entrada" character varying, "data_saida" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "request_types" CASCADE[0m
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "request_types" ("id" bigserial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "requests" CASCADE[0m
[1m[35m (11.5ms)[0m [1m[35mCREATE TABLE "requests" ("id" bigserial primary key, "request_type_id" bigint, "user_id" bigint, "documents" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE INDEX "index_requests_on_request_type_id" ON "requests" ("request_type_id")[0m
[1m[35m (4.5ms)[0m [1m[35mCREATE INDEX "index_requests_on_user_id" ON "requests" ("user_id")[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "requirements" CASCADE[0m
[1m[35m (9.6ms)[0m [1m[35mCREATE TABLE "requirements" ("id" bigserial primary key, "requirements" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "tickets" CASCADE[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "tickets" ("id" bigserial primary key, "data_entrada" timestamp, "data_saida" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (12.6ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "full_name" character varying, "registration" character varying, "role" integer)[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (5.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (6.5ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_59d5c2771d"
FOREIGN KEY (“request_type_id”)
REFERENCES "request_types" ("id")
[0m
[1m[35m (3.6ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_8ead8b1e6b"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201204172747)[0m
[1m[35m (1.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20201113005520), (20201204012658), (20201113005619), (20191114163205), (20201203212607), (20201203170755), (20191114162918);
[0m
[1m[35m (8.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.7ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-12-04 17:37:43.317232"], ["updated_at", "2020-12-04 17:37:43.317232"]]
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-04 14:37:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (6.0ms)
Completed 200 OK in 206ms (Views: 194.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/” for 127.0.0.1 at 2020-12-04 14:37:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "admin@admin.com"], ["encrypted_password", "$2a$04$TywXvMKyYS0QYKHdtjv0y.BVLZQx/cUjE6/84qgi1j8Z0d28MbYTW"], ["created_at", "2020-12-04 17:56:38.528366"], ["updated_at", "2020-12-04 17:56:38.528366"], ["full_name", "Administrador"], ["registration", "000000000"], ["role", 0]]
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "secretary@secretary.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "secretary@secretary.com"], ["encrypted_password", "$2a$04$ebdsC1.qHLry.oEQVknZ2.g9zAxX5xwCxXgOOB.F0Cxl2133ggCba"], ["created_at", "2020-12-04 17:56:38.533242"], ["updated_at", "2020-12-04 17:56:38.533242"], ["full_name", "Secretário"], ["registration", "000000000"], ["role", 1]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "professor@professor.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "professor@professor.com"], ["encrypted_password", "$2a$04$x4UE3OhxDk6I9zidGc4Mpu02VrvGj4zchYKI4b6.d3efT25Tb42ya"], ["created_at", "2020-12-04 17:56:38.537428"], ["updated_at", "2020-12-04 17:56:38.537428"], ["full_name", "Professor"], ["registration", "000000000"], ["role", 2]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "student@student.com"], ["encrypted_password", "$2a$04$wWCpvkasHBEkU4raig4co.mzcfo6OnvHryPVtz/5PIwB5egJ4cfs."], ["created_at", "2020-12-04 17:56:38.542527"], ["updated_at", "2020-12-04 17:56:38.542527"], ["full_name", "Aluno"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:58:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.5ms) Rendered devise/sessions/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 111ms (Views: 103.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:58:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:58:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:58:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:58:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:58:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:58:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:58:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:59:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.2ms) Rendered devise/sessions/new.html.erb within layouts/application (9.5ms)
Completed 200 OK in 109ms (Views: 101.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:59:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:59:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:59:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:59:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 14:59:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:59:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 14:59:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:02:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.7ms) Rendered devise/sessions/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 102ms (Views: 96.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:02:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:02:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:02:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:02:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:02:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:02:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:02:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:02:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 109ms (Views: 100.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:02:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:02:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:02:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:02:43 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (7.6ms) Rendered tickets/new.html.erb within layouts/application (10.0ms)
Completed 200 OK in 26ms (Views: 13.9ms | ActiveRecord: 3.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:02:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:02:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (2.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 2.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:02:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:02:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:02:43 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (20.9ms) Rendered tickets/new.html.erb within layouts/application (21.8ms)
Completed 200 OK in 29ms (Views: 26.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:08:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 130ms (Views: 123.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:08:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:08:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:08:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:08:02 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.1ms) Rendered tickets/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 16ms (Views: 7.2ms | ActiveRecord: 2.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:08:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.9ms) Rendered devise/sessions/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:08:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:08:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:08:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.1ms)
Completed 200 OK in 14ms (Views: 10.3ms | ActiveRecord: 0.6ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:08:02 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (10.6ms) Rendered tickets/new.html.erb within layouts/application (11.3ms)
Completed 200 OK in 19ms (Views: 17.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:09:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (17.2ms)
Completed 200 OK in 142ms (Views: 135.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:09:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:09:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:09:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:09:47 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.8ms) Rendered tickets/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 27ms (Views: 9.7ms | ActiveRecord: 2.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:09:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:09:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:09:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:09:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.6ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:09:48 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (26.3ms) Rendered tickets/new.html.erb within layouts/application (26.6ms)
Completed 200 OK in 31ms (Views: 30.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:10:35 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 107ms (Views: 98.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:10:35 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:10:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:10:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:10:35 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.1ms) Rendered tickets/new.html.erb within layouts/application (7.7ms)
Completed 200 OK in 18ms (Views: 10.4ms | ActiveRecord: 2.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:10:35 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:10:35 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:10:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:10:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 1.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:10:35 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (17.7ms) Rendered tickets/new.html.erb within layouts/application (19.3ms)
Completed 200 OK in 28ms (Views: 27.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:15:05 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 130ms (Views: 124.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:15:05 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:15:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:15:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:15:05 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.8ms) Rendered tickets/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 16ms (Views: 8.5ms | ActiveRecord: 2.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:15:05 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:15:05 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:15:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.1ms)
Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:15:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:15:05 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (16.0ms) Rendered tickets/new.html.erb within layouts/application (16.8ms)
Completed 200 OK in 21ms (Views: 19.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:15:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 118ms (Views: 112.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:15:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:15:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:15:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:15:39 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.8ms) Rendered tickets/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 21ms (Views: 10.9ms | ActiveRecord: 3.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:15:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:15:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:15:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:15:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:15:39 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (22.4ms) Rendered tickets/new.html.erb within layouts/application (23.1ms)
Completed 200 OK in 29ms (Views: 28.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:16:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 129ms (Views: 123.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:16:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:16:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:16:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:16:34 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (9.9ms) Rendered tickets/new.html.erb within layouts/application (12.4ms)
Completed 200 OK in 26ms (Views: 15.8ms | ActiveRecord: 2.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:16:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:16:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 19ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:16:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:16:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.1ms)
Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 1.1ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:16:34 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (9.3ms) Rendered tickets/new.html.erb within layouts/application (9.6ms)
Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:17:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 136ms (Views: 124.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:17:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:17:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:17:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:17:18 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.1ms) Rendered tickets/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 23ms (Views: 10.1ms | ActiveRecord: 4.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (3.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:17:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:17:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:17:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:17:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:17:18 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (16.6ms) Rendered tickets/new.html.erb within layouts/application (20.8ms)
Completed 200 OK in 25ms (Views: 24.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:17:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.7ms) Rendered devise/sessions/new.html.erb within layouts/application (8.3ms)
Completed 200 OK in 129ms (Views: 122.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:17:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:17:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:17:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:17:51 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (7.7ms) Rendered tickets/new.html.erb within layouts/application (10.0ms)
Completed 200 OK in 27ms (Views: 14.4ms | ActiveRecord: 2.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:17:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:17:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 21ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:17:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:17:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:17:51 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (17.2ms) Rendered tickets/new.html.erb within layouts/application (17.4ms)
Completed 200 OK in 22ms (Views: 20.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:18:35 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (7.1ms)
Completed 200 OK in 139ms (Views: 133.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:18:35 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:18:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:18:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:18:35 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.5ms) Rendered tickets/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 15ms (Views: 6.3ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:18:35 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:18:35 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:18:36 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:18:36 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 12ms (Views: 7.0ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:18:36 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.5ms) Rendered tickets/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:21:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (10.7ms)
Completed 200 OK in 105ms (Views: 99.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:21:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:21:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:21:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:21:12 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.0ms) Rendered tickets/new.html.erb within layouts/application (7.2ms)
Completed 200 OK in 19ms (Views: 9.9ms | ActiveRecord: 3.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:21:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:21:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:21:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:21:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:21:12 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.3ms) Rendered tickets/new.html.erb within layouts/application (7.1ms)
Completed 200 OK in 13ms (Views: 11.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:40:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 128ms (Views: 118.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:40:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:40:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:40:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:40:13 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.9ms) Rendered tickets/new.html.erb within layouts/application (8.2ms)
Completed 200 OK in 19ms (Views: 11.8ms | ActiveRecord: 2.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:40:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:40:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:40:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:40:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:40:13 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.6ms) Rendered tickets/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms)
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:46:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 133ms (Views: 123.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:46:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:46:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:46:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:46:57 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.5ms) Rendered tickets/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 18ms (Views: 6.1ms | ActiveRecord: 2.8ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 15:46:57 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:46:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:46:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:46:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:46:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:46:57 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.2ms) Rendered tickets/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:47:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.5ms) Rendered devise/sessions/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 136ms (Views: 128.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:47:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:47:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:47:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:47:57 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.7ms) Rendered tickets/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 20ms (Views: 8.6ms | ActiveRecord: 3.6ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 15:47:58 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:47:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.9ms) Rendered devise/sessions/new.html.erb within layouts/application (10.6ms)
Completed 200 OK in 20ms (Views: 16.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:47:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:47:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:47:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.8ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:47:58 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (7.1ms) Rendered tickets/new.html.erb within layouts/application (7.3ms)
Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to AddUserIdToTickets (20201204185313)
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "tickets" ADD "user_id" integer[0m
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201204185313"]]
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:53:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (7.1ms)
Completed 200 OK in 130ms (Views: 124.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:53:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:53:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:53:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:53:45 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.3ms) Rendered tickets/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 17ms (Views: 8.6ms | ActiveRecord: 2.3ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 15:53:45 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:53:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (11.3ms)
Completed 200 OK in 19ms (Views: 16.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:53:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:53:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:53:46 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.0ms) Rendered tickets/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (10.2ms)
Completed 200 OK in 102ms (Views: 96.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.0ms) Rendered tickets/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 15ms (Views: 5.7ms | ActiveRecord: 2.3ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (1.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01 00:00:00"], ["data_saida", "2020-01-05 00:00:00"], ["created_at", "2020-12-04 18:54:03.432910"], ["updated_at", "2020-12-04 18:54:03.432910"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/1 Completed 302 Found in 9ms (ActiveRecord: 2.8ms) Started GET “/tickets/1” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.1ms)
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:54:03 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.0ms) Rendered tickets/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (8.0ms)
Completed 200 OK in 140ms (Views: 134.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.7ms) Rendered tickets/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 24ms (Views: 9.4ms | ActiveRecord: 2.9ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01 00:00:00"], ["data_saida", "2020-01-05 00:00:00"], ["created_at", "2020-12-04 18:57:28.558302"], ["updated_at", "2020-12-04 18:57:28.558302"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/2 Completed 302 Found in 9ms (ActiveRecord: 1.2ms) Started GET “/tickets/2” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (3.9ms)
Completed 200 OK in 11ms (Views: 8.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 15:57:28 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.8ms) Rendered tickets/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to ChangeDataEntradaToDate (20201204190307)
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (6.9ms)[0m [1m[35mALTER TABLE "tickets" ALTER COLUMN "data_entrada" TYPE date[0m
[1m[35m (3.2ms)[0m [1m[35mALTER TABLE "tickets" ALTER COLUMN "data_saida" TYPE date[0m
[1m[36mActiveRecord::SchemaMigration Create (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201204190307"]]
[1m[35m (4.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:05:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (12.1ms)
Completed 200 OK in 136ms (Views: 131.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:05:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:05:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:05:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 16:05:59 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (7.9ms) Rendered tickets/new.html.erb within layouts/application (10.2ms)
Completed 200 OK in 23ms (Views: 13.8ms | ActiveRecord: 2.6ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 16:05:59 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.6ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 19:05:59.190757"], ["updated_at", "2020-12-04 19:05:59.190757"], ["user_id", 4]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/3 Completed 302 Found in 15ms (ActiveRecord: 1.8ms) Started GET “/tickets/3” for 127.0.0.1 at 2020-12-04 16:05:59 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (1.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:05:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:05:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:05:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.0ms)
Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:05:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 16:05:59 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.0ms) Rendered tickets/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (13.0ms)
Completed 200 OK in 132ms (Views: 127.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.5ms) Rendered tickets/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 15ms (Views: 5.9ms | ActiveRecord: 2.7ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 19:07:58.826944"], ["updated_at", "2020-12-04 19:07:58.826944"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/4 Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET “/tickets/4” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (3.1ms)
Completed 200 OK in 17ms (Views: 10.6ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."date_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["date_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.1ms)
Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 1.1ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 16:07:58 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.2ms) Rendered tickets/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.6ms)
Completed 200 OK in 129ms (Views: 120.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.2ms) Rendered tickets/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 18ms (Views: 8.6ms | ActiveRecord: 2.9ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.6ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 19:08:12.452861"], ["updated_at", "2020-12-04 19:08:12.452861"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/5 Completed 302 Found in 9ms (ActiveRecord: 1.3ms) Started GET “/tickets/5” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mTicket Load (0.8ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.0ms)
Completed 200 OK in 8ms (Views: 3.5ms | ActiveRecord: 0.8ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (3.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.5ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 16:08:12 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (15.3ms) Rendered tickets/new.html.erb within layouts/application (15.7ms)
Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:28:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.5ms)
Completed 200 OK in 142ms (Views: 134.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:28:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:28:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:28:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:28:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:28:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:28:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:28:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:29:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 103ms (Views: 97.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:29:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:29:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:29:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 16:29:23 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.1ms) Rendered tickets/new.html.erb within layouts/application (8.3ms)
Completed 200 OK in 24ms (Views: 12.4ms | ActiveRecord: 3.3ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 16:29:24 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.6ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 19:29:24.032330"], ["updated_at", "2020-12-04 19:29:24.032330"], ["user_id", 4]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/6 Completed 302 Found in 10ms (ActiveRecord: 2.3ms) Started GET “/tickets/6” for 127.0.0.1 at 2020-12-04 16:29:24 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:29:24 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:29:24 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:29:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.5ms)
Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:29:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 16:29:24 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.5ms) Rendered tickets/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 16:29:24 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (8.9ms)
Rendered tickets/new.html.erb within layouts/application (9.2ms)
Completed 200 OK in 24ms (Views: 14.7ms | ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (9.7ms)
Completed 200 OK in 139ms (Views: 131.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 17ms (Views: 5.8ms | ActiveRecord: 3.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.8ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 19:41:43.279787"], ["updated_at", "2020-12-04 19:41:43.279787"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements/1 Completed 302 Found in 11ms (ActiveRecord: 1.9ms) Started GET “/requirements/1” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by RequirementsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements" WHERE "requirements"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering requirements/show.html.erb within layouts/application
Rendered requirements/show.html.erb within layouts/application (2.5ms)
Completed 200 OK in 18ms (Views: 6.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 14ms (Views: 9.9ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 11ms (Views: 7.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (3.3ms) Rendered devise/sessions/new.html.erb within layouts/application (8.5ms)
Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.8ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 19:41:43.527243"], ["updated_at", "2020-12-04 19:41:43.527243"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.8ms)
Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (2.7ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (0.9ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (5.8ms) Rendered diaria/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 61ms (Views: 14.1ms | ActiveRecord: 8.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (5.6ms) Rendered diaria/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (2.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 16:41:43 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (7.5ms) Rendered tickets/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 35ms (Views: 11.9ms | ActiveRecord: 4.4ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 16:41:44 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 19:41:44.048683"], ["updated_at", "2020-12-04 19:41:44.048683"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/7 Completed 302 Found in 13ms (ActiveRecord: 1.7ms) Started GET “/tickets/7” for 127.0.0.1 at 2020-12-04 16:41:44 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 16:41:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:41:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 16:41:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 16:41:44 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.6ms) Rendered tickets/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 16:41:44 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.5ms)
Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to CreateRequestDeadlines (20201204195343)
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "request_deadlines" ("id" bigserial primary key, "deadline" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201204195343"]]
[1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:15:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 190ms (Views: 172.2ms | ActiveRecord: 4.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:15:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:15:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:15:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 122ms (Views: 104.8ms | ActiveRecord: 3.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:15:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:15:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:16:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 113ms (Views: 91.4ms | ActiveRecord: 5.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:16:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:16:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:16:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:22:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (8.7ms)
Completed 200 OK in 119ms (Views: 101.3ms | ActiveRecord: 3.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:22:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:22:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 31ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:22:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:22:02 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:28:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 137ms (Views: 120.1ms | ActiveRecord: 3.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:28:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:28:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:28:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:28:58 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:29:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (7.7ms)
Completed 200 OK in 126ms (Views: 106.0ms | ActiveRecord: 4.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:29:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:29:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:29:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:29:12 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:30:09 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 117ms (Views: 92.1ms | ActiveRecord: 6.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:30:09 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:30:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:30:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:30:09 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (8.3ms) Rendered request_deadlines/new.html.erb within layouts/application (10.5ms)
Completed 200 OK in 25ms (Views: 13.9ms | ActiveRecord: 2.8ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:30:09 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"12", "deadline(3i)"=>"4", "deadline(4i)"=>"20", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.0ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-12-04 20:30:00"], ["created_at", "2020-12-04 20:30:09.620033"], ["updated_at", "2020-12-04 20:30:09.620033"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 4ms (ActiveRecord: 1.5ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:30:09 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (1.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (5.8ms)
Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 1.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:34:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 110ms (Views: 89.9ms | ActiveRecord: 3.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:34:33 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:34:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 31ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:34:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:34:33 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (9.2ms) Rendered request_deadlines/new.html.erb within layouts/application (13.0ms)
Completed 200 OK in 26ms (Views: 15.8ms | ActiveRecord: 3.2ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:34:33 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.6ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:34:33.395506"], ["updated_at", "2020-12-04 20:34:33.395506"]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 15ms (ActiveRecord: 3.9ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:34:33 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:43:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.7ms) Rendered devise/sessions/new.html.erb within layouts/application (11.3ms)
Completed 200 OK in 173ms (Views: 149.4ms | ActiveRecord: 5.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:43:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 40ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:43:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:43:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:43:08 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (7.3ms) Rendered request_deadlines/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 22ms (Views: 12.6ms | ActiveRecord: 2.6ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:43:08 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.7ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:43:08.484366"], ["updated_at", "2020-12-04 20:43:08.484366"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 7ms (ActiveRecord: 1.8ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:43:08 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:43:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (11.6ms)
Completed 200 OK in 116ms (Views: 99.2ms | ActiveRecord: 4.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:43:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:43:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:43:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:43:21 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.4ms) Rendered request_deadlines/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 11ms (Views: 4.7ms | ActiveRecord: 2.1ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:43:21 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.8ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:43:21.765130"], ["updated_at", "2020-12-04 20:43:21.765130"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 9ms (ActiveRecord: 1.9ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:43:21 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.6ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:43:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 114ms (Views: 93.4ms | ActiveRecord: 4.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:43:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:43:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 31ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:43:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:43:33 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.9ms) Rendered request_deadlines/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 23ms (Views: 12.0ms | ActiveRecord: 2.6ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:43:33 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.2ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:43:33.063926"], ["updated_at", "2020-12-04 20:43:33.063926"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 8ms (ActiveRecord: 2.3ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:43:33 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.9ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:44:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (9.3ms)
Completed 200 OK in 147ms (Views: 125.2ms | ActiveRecord: 4.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:44:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:44:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:44:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:44:41 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.0ms) Rendered request_deadlines/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 16ms (Views: 9.0ms | ActiveRecord: 2.7ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:44:41 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:44:41.750130"], ["updated_at", "2020-12-04 20:44:41.750130"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:44:41 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:45:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 113ms (Views: 92.3ms | ActiveRecord: 6.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:45:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:45:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (30.3ms)
Completed 200 OK in 32ms (Views: 31.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:45:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:45:21 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.8ms) Rendered request_deadlines/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 17ms (Views: 9.3ms | ActiveRecord: 2.3ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:45:21 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:45:21.478019"], ["updated_at", "2020-12-04 20:45:21.478019"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:45:21 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.7ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:50:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (14.4ms)
Completed 200 OK in 136ms (Views: 114.7ms | ActiveRecord: 3.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:50:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 40ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:50:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:50:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:50:11 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.9ms) Rendered request_deadlines/new.html.erb within layouts/application (8.2ms)
Completed 200 OK in 21ms (Views: 11.1ms | ActiveRecord: 4.2ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:50:11 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:50:12.004467"], ["updated_at", "2020-12-04 20:50:12.004467"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:50:12 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (1.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (5.7ms)
Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 1.4ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:51:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 131ms (Views: 100.9ms | ActiveRecord: 9.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:51:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:51:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 32ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:51:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:51:11 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.9ms) Rendered request_deadlines/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 25ms (Views: 11.6ms | ActiveRecord: 2.9ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:51:11 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:51:11.322223"], ["updated_at", "2020-12-04 20:51:11.322223"]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 7ms (ActiveRecord: 2.3ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:51:11 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:51:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 112ms (Views: 89.0ms | ActiveRecord: 6.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:51:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 32ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:51:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:51:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:51:52 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.1ms) Rendered request_deadlines/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 24ms (Views: 11.2ms | ActiveRecord: 4.1ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:51:52 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:51:52.859157"], ["updated_at", "2020-12-04 20:51:52.859157"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:51:52 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.8ms) Rendered devise/sessions/new.html.erb within layouts/application (12.7ms)
Completed 200 OK in 136ms (Views: 114.7ms | ActiveRecord: 4.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 33ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:52:08 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.4ms) Rendered request_deadlines/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 15ms (Views: 7.5ms | ActiveRecord: 2.3ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:52:08 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.8ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:52:08.262043"], ["updated_at", "2020-12-04 20:52:08.262043"]]
[1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 16ms (ActiveRecord: 3.2ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:52:08 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (7.7ms)
Completed 200 OK in 112ms (Views: 93.0ms | ActiveRecord: 4.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:33 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 31ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:52:33 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.3ms) Rendered request_deadlines/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 18ms (Views: 10.2ms | ActiveRecord: 3.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:52:33 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.1ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.7ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:52:33.738462"], ["updated_at", "2020-12-04 20:52:33.738462"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 9ms (ActiveRecord: 3.0ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:52:33 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (1.0ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (4.5ms)
Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 1.0ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.2ms) Rendered devise/sessions/new.html.erb within layouts/application (11.7ms)
Completed 200 OK in 142ms (Views: 136.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (11.4ms)
Completed 200 OK in 16ms (Views: 13.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.8ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 20:52:56.938963"], ["updated_at", "2020-12-04 20:52:56.938963"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 17:52:56 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.7ms)
Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.3ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.2ms)
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.6ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (11.8ms) Rendered request_deadlines/new.html.erb within layouts/application (14.0ms)
Completed 200 OK in 59ms (Views: 18.4ms | ActiveRecord: 7.1ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.9ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:52:57.353683"], ["updated_at", "2020-12-04 20:52:57.353683"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 8ms (ActiveRecord: 1.5ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 13ms (Views: 5.5ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.5ms) Rendered devise/sessions/new.html.erb within layouts/application (9.2ms)
Completed 200 OK in 22ms (Views: 20.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 11ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (24.7ms) Rendered tickets/new.html.erb within layouts/application (26.4ms)
Completed 200 OK in 51ms (Views: 29.0ms | ActiveRecord: 5.1ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.7ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 20:52:57.578254"], ["updated_at", "2020-12-04 20:52:57.578254"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/8 Completed 302 Found in 20ms (ActiveRecord: 2.3ms) Started GET “/tickets/8” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 9ms (Views: 4.3ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.3ms) Rendered tickets/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 17:52:57 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.4ms)
Rendered tickets/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 133ms (Views: 125.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 17:53:45 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (13.8ms)
Completed 200 OK in 35ms (Views: 17.0ms | ActiveRecord: 8.0ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 17:53:45 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 20:53:45.966116"], ["updated_at", "2020-12-04 20:53:45.966116"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 17:53:45 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (4.4ms)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (3.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.5ms)
Completed 200 OK in 15ms (Views: 11.0ms | ActiveRecord: 3.3ms)
[1m[36mBudget Load (1.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (3.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 20:53:46.213990"], ["updated_at", "2020-12-04 20:53:46.213990"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (2.8ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (7.5ms)
Completed 200 OK in 26ms (Views: 6.4ms | ActiveRecord: 3.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (13.1ms) Rendered diaria/new.html.erb within layouts/application (15.0ms)
Completed 200 OK in 35ms (Views: 20.7ms | ActiveRecord: 2.9ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (11.1ms) Rendered diaria/new.html.erb within layouts/application (11.8ms)
Completed 200 OK in 19ms (Views: 17.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 12ms (Views: 9.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.3ms) Rendered request_deadlines/new.html.erb within layouts/application (7.8ms)
Completed 200 OK in 23ms (Views: 11.3ms | ActiveRecord: 3.8ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.6ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:53:46.649027"], ["updated_at", "2020-12-04 20:53:46.649027"]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.9ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.0ms) Rendered tickets/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 20ms (Views: 7.8ms | ActiveRecord: 2.9ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (1.1ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 20:53:46.809591"], ["updated_at", "2020-12-04 20:53:46.809591"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/9 Completed 302 Found in 13ms (ActiveRecord: 2.1ms) Started GET “/tickets/9” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.2ms) Rendered tickets/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 17:53:46 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (4.3ms)
Rendered tickets/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 18ms (Views: 7.1ms | ActiveRecord: 2.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 131ms (Views: 122.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (8.0ms)
Completed 200 OK in 18ms (Views: 9.4ms | ActiveRecord: 4.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.7ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 20:55:56.448502"], ["updated_at", "2020-12-04 20:55:56.448502"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 10ms (ActiveRecord: 1.7ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (1.1ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (5.7ms)
Completed 200 OK in 14ms (Views: 10.4ms | ActiveRecord: 1.1ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 22ms (Views: 14.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (3.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 3.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (3.6ms)
Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 20ms (Views: 12.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 13ms (Views: 8.2ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 20:55:56.688382"], ["updated_at", "2020-12-04 20:55:56.688382"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 36ms (Views: 29.2ms | ActiveRecord: 0.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.5ms) Rendered devise/sessions/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (9.4ms) Rendered diaria/new.html.erb within layouts/application (10.7ms)
Completed 200 OK in 45ms (Views: 25.8ms | ActiveRecord: 2.8ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 17:55:56 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (7.0ms) Rendered diaria/new.html.erb within layouts/application (9.1ms)
Completed 200 OK in 18ms (Views: 14.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (10.9ms) Rendered request_deadlines/new.html.erb within layouts/application (14.2ms)
Completed 200 OK in 44ms (Views: 16.6ms | ActiveRecord: 3.1ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:55:57.192386"], ["updated_at", "2020-12-04 20:55:57.192386"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 1.4ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (1.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (2.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.5ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.2ms) Rendered tickets/new.html.erb within layouts/application (7.7ms)
Completed 200 OK in 22ms (Views: 11.6ms | ActiveRecord: 4.2ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.9ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 20:55:57.326557"], ["updated_at", "2020-12-04 20:55:57.326557"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/10 Completed 302 Found in 8ms (ActiveRecord: 1.4ms) Started GET “/tickets/10” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.6ms)
Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (1.7ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (1.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.9ms) Rendered tickets/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 17:55:57 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.5ms)
Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 14ms (Views: 5.2ms | ActiveRecord: 1.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (9.5ms)
Completed 200 OK in 133ms (Views: 126.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.4ms)
Completed 200 OK in 13ms (Views: 5.1ms | ActiveRecord: 3.0ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (1.2ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 20:57:44.501432"], ["updated_at", "2020-12-04 20:57:44.501432"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 9ms (ActiveRecord: 2.5ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (3.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 14ms (Views: 11.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.1ms)
Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (5.6ms)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 2.4ms)
[1m[35m (9.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (3.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.3ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (2.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 20:57:44.817602"], ["updated_at", "2020-12-04 20:57:44.817602"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 32ms (Views: 25.4ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.8ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 17:57:44 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (10.3ms) Rendered diaria/new.html.erb within layouts/application (17.0ms)
Completed 200 OK in 39ms (Views: 24.1ms | ActiveRecord: 3.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (9.4ms)
Completed 200 OK in 25ms (Views: 19.9ms | ActiveRecord: 1.0ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (5.2ms) Rendered diaria/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 19ms (Views: 16.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.5ms)
Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (12.2ms) Rendered request_deadlines/new.html.erb within layouts/application (14.0ms)
Completed 200 OK in 33ms (Views: 19.3ms | ActiveRecord: 5.5ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.1ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:57:45.335756"], ["updated_at", "2020-12-04 20:57:45.335756"]]
[1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 13ms (ActiveRecord: 3.7ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.4ms)
Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 2.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.5ms) Rendered tickets/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 30ms (Views: 7.3ms | ActiveRecord: 7.3ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 20:57:45.473610"], ["updated_at", "2020-12-04 20:57:45.473610"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/11 Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET “/tickets/11” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mTicket Load (0.5ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.0ms)
Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 0.5ms)
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.1ms) Rendered tickets/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 17:57:45 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.3ms)
Rendered tickets/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (14.8ms)
Completed 200 OK in 151ms (Views: 143.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 17ms (Views: 6.8ms | ActiveRecord: 4.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 20:58:55.103862"], ["updated_at", "2020-12-04 20:58:55.103862"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 13ms (ActiveRecord: 1.2ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (7.5ms)
Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 0.3ms)
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 12ms (Views: 7.8ms | ActiveRecord: 0.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (9.8ms)
Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (10.7ms)
Completed 200 OK in 22ms (Views: 19.6ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.6ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 20:58:55.423586"], ["updated_at", "2020-12-04 20:58:55.423586"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (1.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 1.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (7.4ms) Rendered diaria/new.html.erb within layouts/application (9.7ms)
Completed 200 OK in 62ms (Views: 22.0ms | ActiveRecord: 4.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 14ms (Views: 10.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 1.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.3ms)
Completed 200 OK in 16ms (Views: 11.4ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (2.7ms) Rendered diaria/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (6.0ms) Rendered devise/sessions/new.html.erb within layouts/application (12.1ms)
Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 1.7ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 17:58:55 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (11.0ms) Rendered request_deadlines/new.html.erb within layouts/application (11.9ms)
Completed 200 OK in 31ms (Views: 14.2ms | ActiveRecord: 4.2ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 20:58:56.049865"], ["updated_at", "2020-12-04 20:58:56.049865"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 12ms (ActiveRecord: 1.8ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.5ms)
Completed 200 OK in 11ms (Views: 8.3ms | ActiveRecord: 1.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (9.0ms) Rendered tickets/new.html.erb within layouts/application (10.0ms)
Completed 200 OK in 41ms (Views: 12.6ms | ActiveRecord: 5.8ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (3.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (2.0ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 20:58:56.275606"], ["updated_at", "2020-12-04 20:58:56.275606"], ["user_id", 4]]
[1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/12 Completed 302 Found in 23ms (ActiveRecord: 8.1ms) Started GET “/tickets/12” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (4.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.8ms)
Completed 200 OK in 9ms (Views: 3.4ms | ActiveRecord: 4.7ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (8.3ms) Rendered tickets/new.html.erb within layouts/application (8.5ms)
Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 17:58:56 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (7.8ms)
Rendered tickets/new.html.erb within layouts/application (8.3ms)
Completed 200 OK in 14ms (Views: 10.3ms | ActiveRecord: 0.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (3.8ms) Rendered devise/sessions/new.html.erb within layouts/application (14.3ms)
Completed 200 OK in 162ms (Views: 152.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 11ms (Views: 5.1ms | ActiveRecord: 2.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:00:23.472416"], ["updated_at", "2020-12-04 21:00:23.472416"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (10.5ms)
Completed 200 OK in 16ms (Views: 12.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (7.3ms)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (9.0ms)
Completed 200 OK in 17ms (Views: 13.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 10ms (Views: 5.3ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:00:23.741360"], ["updated_at", "2020-12-04 21:00:23.741360"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (10.9ms)
Completed 200 OK in 15ms (Views: 11.2ms | ActiveRecord: 2.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (9.6ms) Rendered diaria/new.html.erb within layouts/application (12.0ms)
Completed 200 OK in 58ms (Views: 18.2ms | ActiveRecord: 7.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (7.7ms) Rendered diaria/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 24ms (Views: 17.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.3ms)
Completed 200 OK in 13ms (Views: 8.7ms | ActiveRecord: 1.0ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (19.6ms) Rendered request_deadlines/new.html.erb within layouts/application (21.3ms)
Completed 200 OK in 47ms (Views: 25.5ms | ActiveRecord: 4.7ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (4.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 21:00:24.278489"], ["updated_at", "2020-12-04 21:00:24.278489"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 17ms (ActiveRecord: 6.3ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 8ms (Views: 3.7ms | ActiveRecord: 0.2ms)
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (1.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (12.8ms) Rendered tickets/new.html.erb within layouts/application (14.8ms)
Completed 200 OK in 42ms (Views: 18.7ms | ActiveRecord: 4.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.8ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:00:24.496166"], ["updated_at", "2020-12-04 21:00:24.496166"], ["user_id", 4]]
[1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/13 Completed 302 Found in 47ms (ActiveRecord: 2.5ms) Started GET “/tickets/13” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.8ms) Rendered tickets/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:00:24 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (6.7ms)
Rendered tickets/new.html.erb within layouts/application (7.7ms)
Completed 200 OK in 13ms (Views: 9.9ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 158ms (Views: 148.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 13ms (Views: 5.4ms | ActiveRecord: 2.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (1.1ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:06:01.293629"], ["updated_at", "2020-12-04 21:06:01.293629"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 11ms (ActiveRecord: 2.4ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 17ms (Views: 13.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (4.0ms)
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (2.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:06:01.527618"], ["updated_at", "2020-12-04 21:06:01.527618"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (1.7ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (41.1ms)
Completed 200 OK in 51ms (Views: 42.3ms | ActiveRecord: 3.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 2.5ms)
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (8.6ms)
Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 3.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (8.4ms) Rendered diaria/new.html.erb within layouts/application (11.0ms)
Completed 200 OK in 36ms (Views: 19.6ms | ActiveRecord: 5.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (3.2ms) Rendered diaria/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:06:01 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.3ms) Rendered request_deadlines/new.html.erb within layouts/application (7.7ms)
Completed 200 OK in 48ms (Views: 10.1ms | ActiveRecord: 6.5ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 21:06:02.017753"], ["updated_at", "2020-12-04 21:06:02.017753"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.7ms) Rendered tickets/new.html.erb within layouts/application (7.8ms)
Completed 200 OK in 33ms (Views: 13.7ms | ActiveRecord: 5.9ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:06:02.163619"], ["updated_at", "2020-12-04 21:06:02.163619"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/14 Completed 302 Found in 10ms (ActiveRecord: 1.3ms) Started GET “/tickets/14” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.7ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.1ms) Rendered tickets/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:06:02 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (12.5ms)
Rendered tickets/new.html.erb within layouts/application (13.6ms)
Completed 200 OK in 19ms (Views: 15.5ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (4.8ms) Rendered devise/sessions/new.html.erb within layouts/application (12.1ms)
Completed 200 OK in 141ms (Views: 131.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 12ms (Views: 3.7ms | ActiveRecord: 3.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.9ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:06:31.615459"], ["updated_at", "2020-12-04 21:06:31.615459"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 6ms (ActiveRecord: 1.5ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 17ms (Views: 14.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 18ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (4.6ms)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (3.3ms) Rendered devise/sessions/new.html.erb within layouts/application (13.9ms)
Completed 200 OK in 19ms (Views: 18.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (20.6ms)
Completed 200 OK in 23ms (Views: 21.7ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:06:31.887269"], ["updated_at", "2020-12-04 21:06:31.887269"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (1.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 1.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 12ms (Views: 9.7ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (3.4ms) Rendered diaria/new.html.erb within layouts/application (9.2ms)
Completed 200 OK in 37ms (Views: 15.3ms | ActiveRecord: 3.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (10.3ms)
Completed 200 OK in 17ms (Views: 14.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (3.9ms) Rendered diaria/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 15ms (Views: 9.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.3ms) Rendered request_deadlines/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 25ms (Views: 10.0ms | ActiveRecord: 2.4ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 21:06:32.339472"], ["updated_at", "2020-12-04 21:06:32.339472"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.4ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (5.5ms)
Completed 200 OK in 14ms (Views: 8.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.1ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (8.6ms)
Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.8ms)
Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.0ms)
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.6ms) Rendered tickets/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 25ms (Views: 10.6ms | ActiveRecord: 3.9ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:06:32.496160"], ["updated_at", "2020-12-04 21:06:32.496160"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/15 Completed 302 Found in 16ms (ActiveRecord: 2.4ms) Started GET “/tickets/15” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.0ms) Rendered tickets/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:06:32 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.7ms)
Rendered tickets/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.9ms) Rendered devise/sessions/new.html.erb within layouts/application (17.9ms)
Completed 200 OK in 312ms (Views: 302.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (9.7ms)
Completed 200 OK in 16ms (Views: 13.8ms | ActiveRecord: 1.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 29ms (Views: 6.1ms | ActiveRecord: 6.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.6ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:08:11.546512"], ["updated_at", "2020-12-04 21:08:11.546512"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.8ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 10ms (ActiveRecord: 2.3ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (1.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (6.0ms)
Completed 200 OK in 14ms (Views: 10.7ms | ActiveRecord: 1.6ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.5ms) Rendered devise/sessions/new.html.erb within layouts/application (9.1ms)
Completed 200 OK in 36ms (Views: 32.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.5ms)
Completed 200 OK in 16ms (Views: 15.0ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (12.3ms)
Completed 200 OK in 21ms (Views: 17.5ms | ActiveRecord: 0.9ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (10.9ms)
Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.7ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (13.2ms)
Completed 200 OK in 22ms (Views: 18.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.1ms)
Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 1.3ms)
[1m[36mBudget Load (1.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (3.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.6ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:08:11.962935"], ["updated_at", "2020-12-04 21:08:11.962935"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:08:11 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (3.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (5.9ms)
Completed 200 OK in 8ms (Views: 3.6ms | ActiveRecord: 4.0ms)
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (6.4ms) Rendered diaria/new.html.erb within layouts/application (10.6ms)
Completed 200 OK in 69ms (Views: 18.8ms | ActiveRecord: 5.3ms)
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 14ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (2.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.0ms)
Completed 200 OK in 17ms (Views: 15.1ms | ActiveRecord: 0.4ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (4.4ms) Rendered diaria/new.html.erb within layouts/application (10.3ms)
Completed 200 OK in 26ms (Views: 22.6ms | ActiveRecord: 0.0ms)
[1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m [1m[35m (4.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (15.3ms)
Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.1ms)
Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 2.0ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (17.2ms) Rendered request_deadlines/new.html.erb within layouts/application (18.8ms)
Completed 200 OK in 46ms (Views: 26.7ms | ActiveRecord: 8.5ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.7ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 21:08:12.707049"], ["updated_at", "2020-12-04 21:08:12.707049"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 14ms (ActiveRecord: 2.2ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (1.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (6.7ms)
Completed 200 OK in 15ms (Views: 9.7ms | ActiveRecord: 1.5ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (4.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (8.5ms)
Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (8.1ms) Rendered tickets/new.html.erb within layouts/application (9.5ms)
Completed 200 OK in 44ms (Views: 12.0ms | ActiveRecord: 7.2ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:08:12.912479"], ["updated_at", "2020-12-04 21:08:12.912479"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/16 Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET “/tickets/16” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.7ms)
Completed 200 OK in 10ms (Views: 5.5ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:08:12 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.0ms) Rendered tickets/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:08:13 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.0ms)
Rendered tickets/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 148ms (Views: 139.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 17ms (Views: 7.9ms | ActiveRecord: 4.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:08:53.727146"], ["updated_at", "2020-12-04 21:08:53.727146"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 14ms (ActiveRecord: 1.3ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 24ms (Views: 19.1ms | ActiveRecord: 0.7ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 11ms (Views: 8.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (3.8ms)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 14ms (Views: 8.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.1ms)
Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.7ms)
[1m[36mBudget Load (0.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:08:54.056738"], ["updated_at", "2020-12-04 21:08:54.056738"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (1.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.1ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 1.0ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (10.6ms) Rendered diaria/new.html.erb within layouts/application (12.6ms)
Completed 200 OK in 65ms (Views: 17.2ms | ActiveRecord: 6.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (7.7ms)
Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.5ms)
Completed 200 OK in 17ms (Views: 14.1ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (4.1ms) Rendered diaria/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 18ms (Views: 14.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.1ms)
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.6ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.4ms) Rendered request_deadlines/new.html.erb within layouts/application (7.7ms)
Completed 200 OK in 30ms (Views: 15.4ms | ActiveRecord: 3.5ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.0ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.9ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2020-01-01 17:30:00"], ["created_at", "2020-12-04 21:08:54.627786"], ["updated_at", "2020-12-04 21:08:54.627786"]]
[1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 13ms (ActiveRecord: 4.0ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (3.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 3.3ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (8.1ms) Rendered tickets/new.html.erb within layouts/application (9.2ms)
Completed 200 OK in 33ms (Views: 10.9ms | ActiveRecord: 5.8ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:08:54.789069"], ["updated_at", "2020-12-04 21:08:54.789069"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/17 Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET “/tickets/17” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"17"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.0ms)
Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.9ms) Rendered tickets/new.html.erb within layouts/application (7.3ms)
Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:08:54 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (6.0ms)
Rendered tickets/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 17ms (Views: 8.8ms | ActiveRecord: 2.3ms)
[1m[35m (2.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (11.2ms)
Completed 200 OK in 151ms (Views: 144.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 13ms (Views: 5.0ms | ActiveRecord: 3.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (5.9ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:25:14.382072"], ["updated_at", "2020-12-04 21:25:14.382072"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 13ms (ActiveRecord: 7.1ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.4ms)
[1m[35m (5.2ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (1.0ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (7.6ms)
Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (10.7ms)
Completed 500 Internal Server Error in 21ms (ActiveRecord: 1.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:25:14.616854"], ["updated_at", "2020-12-04 21:25:14.616854"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (3.1ms) Rendered diaria/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 44ms (Views: 7.7ms | ActiveRecord: 2.5ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (3.3ms) Rendered diaria/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.2ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 14ms (Views: 11.0ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.2ms) Rendered request_deadlines/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 23ms (Views: 8.4ms | ActiveRecord: 3.7ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (13.6ms)
Rendered request_deadlines/new.html.erb within layouts/application (14.3ms)
Completed 200 OK in 20ms (Views: 15.8ms | ActiveRecord: 0.8ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 1.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (9.4ms) Rendered request_deadlines/new.html.erb within layouts/application (10.5ms)
Completed 200 OK in 16ms (Views: 15.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (12.2ms) Rendered tickets/new.html.erb within layouts/application (13.2ms)
Completed 200 OK in 27ms (Views: 15.1ms | ActiveRecord: 3.1ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.3ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:25:15.309701"], ["updated_at", "2020-12-04 21:25:15.309701"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/18 Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET “/tickets/18” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (2.0ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.6ms) Rendered tickets/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:25:15 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.2ms)
Rendered tickets/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 130ms (Views: 125.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 20ms (Views: 10.4ms | ActiveRecord: 4.0ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (1.1ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:25:46.687887"], ["updated_at", "2020-12-04 21:25:46.687887"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 11ms (ActiveRecord: 2.1ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (1.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (5.7ms)
Completed 200 OK in 13ms (Views: 7.8ms | ActiveRecord: 1.2ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (16.2ms)
Completed 200 OK in 25ms (Views: 23.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (4.0ms)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 1.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (3.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:25:46.931650"], ["updated_at", "2020-12-04 21:25:46.931650"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.6ms)
[1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 1.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (6.6ms) Rendered diaria/new.html.erb within layouts/application (7.6ms)
Completed 200 OK in 44ms (Views: 18.5ms | ActiveRecord: 2.8ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (3.4ms) Rendered diaria/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 13ms (Views: 8.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (12.7ms)
Completed 200 OK in 19ms (Views: 16.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.2ms)
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 1.1ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (7.6ms) Rendered request_deadlines/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 23ms (Views: 12.6ms | ActiveRecord: 2.8ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2020", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.2ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 8ms (Views: 3.3ms | ActiveRecord: 0.7ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.0ms) Rendered request_deadlines/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.4ms) Rendered tickets/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 24ms (Views: 8.7ms | ActiveRecord: 3.9ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:25:47.609952"], ["updated_at", "2020-12-04 21:25:47.609952"], ["user_id", 4]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/19 Completed 302 Found in 10ms (ActiveRecord: 1.5ms) Started GET “/tickets/19” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"19"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.6ms)
Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.7ms) Rendered tickets/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:25:47 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.7ms)
Rendered tickets/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (10.4ms)
Completed 200 OK in 146ms (Views: 135.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 13ms (Views: 4.9ms | ActiveRecord: 3.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.6ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:26:42.677379"], ["updated_at", "2020-12-04 21:26:42.677379"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 12ms (ActiveRecord: 1.8ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (1.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 1.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (11.3ms)
Completed 500 Internal Server Error in 19ms (ActiveRecord: 1.5ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:26:42.920325"], ["updated_at", "2020-12-04 21:26:42.920325"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 1.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:26:42 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 16ms (Views: 11.0ms | ActiveRecord: 2.0ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (4.5ms) Rendered diaria/new.html.erb within layouts/application (8.5ms)
Completed 200 OK in 40ms (Views: 19.0ms | ActiveRecord: 4.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (2.3ms) Rendered diaria/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 8ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.9ms)
Completed 200 OK in 15ms (Views: 11.6ms | ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.3ms) Rendered request_deadlines/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 31ms (Views: 9.0ms | ActiveRecord: 10.3ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.7ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-04 21:26:43.368026"], ["updated_at", "2020-12-04 21:26:43.368026"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.4ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (1.1ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (6.2ms)
Completed 200 OK in 16ms (Views: 7.9ms | ActiveRecord: 1.1ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (1.9ms) Rendered request_deadlines/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (11.3ms) Rendered tickets/new.html.erb within layouts/application (13.6ms)
Completed 200 OK in 30ms (Views: 17.6ms | ActiveRecord: 3.8ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:26:43.586696"], ["updated_at", "2020-12-04 21:26:43.586696"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/20 Completed 302 Found in 18ms (ActiveRecord: 1.6ms) Started GET “/tickets/20” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"20"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.6ms)
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.5ms) Rendered tickets/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:26:43 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.3ms)
Rendered tickets/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:37 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.4ms) Rendered devise/sessions/new.html.erb within layouts/application (13.1ms)
Completed 200 OK in 139ms (Views: 131.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:37 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:37 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:28:37 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 14ms (Views: 5.0ms | ActiveRecord: 3.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:28:37 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.6ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:28:37.920457"], ["updated_at", "2020-12-04 21:28:37.920457"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 9ms (ActiveRecord: 1.6ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:28:37 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.4ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.9ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:37 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:37 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (5.0ms)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.7ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 17ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (1.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:28:38.164865"], ["updated_at", "2020-12-04 21:28:38.164865"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.0ms)
Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.8ms)
[1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.9ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (9.4ms) Rendered diaria/new.html.erb within layouts/application (11.2ms)
Completed 200 OK in 42ms (Views: 15.9ms | ActiveRecord: 2.8ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.3ms)
Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.8ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (2.0ms) Rendered diaria/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (3.9ms) Rendered devise/sessions/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 20ms (Views: 19.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.6ms)
Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (12.1ms) Rendered request_deadlines/new.html.erb within layouts/application (13.8ms)
Completed 200 OK in 44ms (Views: 20.9ms | ActiveRecord: 3.2ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.6ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-04 21:28:38.615153"], ["updated_at", "2020-12-04 21:28:38.615153"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 10ms (ActiveRecord: 2.4ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.3ms) Rendered request_deadlines/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.2ms) Rendered tickets/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 21ms (Views: 8.6ms | ActiveRecord: 3.4ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.6ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:28:38.793691"], ["updated_at", "2020-12-04 21:28:38.793691"], ["user_id", 4]]
[1m[35m (2.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/21 Completed 302 Found in 19ms (ActiveRecord: 3.2ms) Started GET “/tickets/21” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"21"}
[1m[36mTicket Load (1.0ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.6ms)
Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 1.0ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.3ms) Rendered tickets/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:28:38 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.1ms)
Rendered tickets/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.3ms)
[1m[35m (1.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 131ms (Views: 124.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:28:58 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 17ms (Views: 7.1ms | ActiveRecord: 4.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.3ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:28:59.021745"], ["updated_at", "2020-12-04 21:28:59.021745"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.1ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 3ms (ActiveRecord: 0.6ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (1.1ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 1.1ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 17ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (2.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (4.0ms)
Completed 500 Internal Server Error in 12ms (ActiveRecord: 2.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.7ms) Rendered devise/sessions/new.html.erb within layouts/application (4.4ms)
Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 20ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:28:59.272062"], ["updated_at", "2020-12-04 21:28:59.272062"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (9.5ms)
Completed 200 OK in 17ms (Views: 10.9ms | ActiveRecord: 1.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (1.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (8.6ms)
Completed 200 OK in 15ms (Views: 12.1ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 11ms (Views: 10.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (3.1ms) Rendered diaria/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 43ms (Views: 8.3ms | ActiveRecord: 4.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (2.0ms) Rendered diaria/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (14.8ms) Rendered request_deadlines/new.html.erb within layouts/application (16.1ms)
Completed 200 OK in 34ms (Views: 19.6ms | ActiveRecord: 6.4ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-04 21:28:59.741662"], ["updated_at", "2020-12-04 21:28:59.741662"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 1.3ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.7ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.7ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.1ms) Rendered request_deadlines/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.1ms)
Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.6ms) Rendered tickets/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 33ms (Views: 12.4ms | ActiveRecord: 4.5ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.6ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:28:59.940628"], ["updated_at", "2020-12-04 21:28:59.940628"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/22 Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET “/tickets/22” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"22"}
[1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:28:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:29:00 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.4ms) Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:29:00 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.5ms)
Rendered tickets/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.5ms)
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:27 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 132ms (Views: 126.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:27 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:27 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:29:27 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (10.5ms)
Completed 200 OK in 23ms (Views: 11.8ms | ActiveRecord: 5.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:29:27 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.6ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:29:27.948760"], ["updated_at", "2020-12-04 21:29:27.948760"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 6ms (ActiveRecord: 1.3ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:29:27 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.4ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (1.1ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[35m (4.9ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (5.2ms)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (3.0ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:29:28.203582"], ["updated_at", "2020-12-04 21:29:28.203582"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (1.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (5.3ms) Rendered diaria/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 52ms (Views: 15.9ms | ActiveRecord: 4.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (9.4ms)
Completed 200 OK in 16ms (Views: 11.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 1.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (1.9ms) Rendered diaria/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (2.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (13.6ms)
Completed 200 OK in 19ms (Views: 17.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.7ms) Rendered request_deadlines/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 20ms (Views: 10.0ms | ActiveRecord: 2.7ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.8ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-04 21:29:28.601880"], ["updated_at", "2020-12-04 21:29:28.601880"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 23ms (ActiveRecord: 1.4ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.4ms)
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (1.1ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (1.9ms) Rendered request_deadlines/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.0ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.7ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.0ms) Rendered tickets/new.html.erb within layouts/application (7.3ms)
Completed 200 OK in 21ms (Views: 10.0ms | ActiveRecord: 2.8ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.7ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:29:28.837314"], ["updated_at", "2020-12-04 21:29:28.837314"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/23 Completed 302 Found in 11ms (ActiveRecord: 1.3ms) Started GET “/tickets/23” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"23"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.6ms)
Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.3ms) Rendered tickets/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:29:28 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.4ms)
Rendered tickets/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.3ms) Rendered devise/sessions/new.html.erb within layouts/application (7.8ms)
Completed 200 OK in 125ms (Views: 119.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:42:52 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 12ms (Views: 4.9ms | ActiveRecord: 3.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:42:52 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.6ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 21:42:53.006196"], ["updated_at", "2020-12-04 21:42:53.006196"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 12ms (ActiveRecord: 1.5ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 16ms (Views: 13.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.8ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (2.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (6.6ms)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.7ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 21:42:53.254857"], ["updated_at", "2020-12-04 21:42:53.254857"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.6ms)
Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 1.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.2ms)
Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 1.0ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (4.6ms) Rendered diaria/new.html.erb within layouts/application (8.2ms)
Completed 200 OK in 46ms (Views: 15.5ms | ActiveRecord: 7.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 1.5ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (2.0ms) Rendered diaria/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 10ms (Views: 5.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.9ms) Rendered request_deadlines/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 28ms (Views: 10.3ms | ActiveRecord: 7.2ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.6ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-04 21:42:53.720119"], ["updated_at", "2020-12-04 21:42:53.720119"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 11ms (ActiveRecord: 2.7ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.5ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.0ms) Rendered request_deadlines/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.2ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.3ms) Rendered tickets/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 22ms (Views: 9.0ms | ActiveRecord: 3.6ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 21:42:53.920340"], ["updated_at", "2020-12-04 21:42:53.920340"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/24 Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET “/tickets/24” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"24"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 18:42:53 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.0ms) Rendered tickets/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 18:42:54 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.2ms)
Rendered tickets/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (117.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "secretaria_ppgi_test"[0m
[1m[35m (368.9ms)[0m [1m[35mCREATE DATABASE "secretaria_ppgi_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.6ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "bookings" CASCADE[0m
[1m[35m (9.2ms)[0m [1m[35mCREATE TABLE "bookings" ("id" bigserial primary key, "data_entrada" date, "date_saida" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.2ms)[0m [1m[35mDROP TABLE IF EXISTS "budgets" CASCADE[0m
[1m[35m (15.9ms)[0m [1m[35mCREATE TABLE "budgets" ("id" bigserial primary key, "value" decimal, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "diaria" CASCADE[0m
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "diaria" ("id" bigserial primary key, "data_entrada" character varying, "data_saida" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "request_deadlines" CASCADE[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "request_deadlines" ("id" bigserial primary key, "deadline" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "request_types" CASCADE[0m
[1m[35m (14.0ms)[0m [1m[35mCREATE TABLE "request_types" ("id" bigserial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "requests" CASCADE[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "requests" ("id" bigserial primary key, "request_type_id" bigint, "user_id" bigint, "documents" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.6ms)[0m [1m[35mCREATE INDEX "index_requests_on_request_type_id" ON "requests" ("request_type_id")[0m
[1m[35m (2.7ms)[0m [1m[35mCREATE INDEX "index_requests_on_user_id" ON "requests" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "requirements" CASCADE[0m
[1m[35m (20.9ms)[0m [1m[35mCREATE TABLE "requirements" ("id" bigserial primary key, "requirements" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tickets" CASCADE[0m
[1m[35m (10.7ms)[0m [1m[35mCREATE TABLE "tickets" ("id" bigserial primary key, "data_entrada" date, "data_saida" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user_id" integer)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "full_name" character varying, "registration" character varying, "role" integer)[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.1ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_59d5c2771d"
FOREIGN KEY (“request_type_id”)
REFERENCES "request_types" ("id")
[0m
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_8ead8b1e6b"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201204195343)[0m
[1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20201113005520), (20201204012658), (20201113005619), (20201204190307), (20201204185313), (20191114163205), (20201204172747), (20201203212607), (20201203170755), (20191114162918);
[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-12-04 22:57:09.114456"], ["updated_at", "2020-12-04 22:57:09.114456"]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to CreateBookings (20201204220942)
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "bookings" ("id" bigserial primary key, "data_entrada" date, "date_saida" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (110.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "secretaria_ppgi_test"[0m
[1m[35m (254.2ms)[0m [1m[35mCREATE DATABASE "secretaria_ppgi_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.7ms)[0m [1m[35mDROP TABLE IF EXISTS "bookings" CASCADE[0m
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "bookings" ("id" bigserial primary key, "data_entrada" date, "date_saida" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE IF EXISTS "budgets" CASCADE[0m
[1m[35m (10.5ms)[0m [1m[35mCREATE TABLE "budgets" ("id" bigserial primary key, "value" decimal, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "diaria" CASCADE[0m
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "diaria" ("id" bigserial primary key, "data_entrada" character varying, "data_saida" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "request_deadlines" CASCADE[0m
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "request_deadlines" ("id" bigserial primary key, "deadline" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "request_types" CASCADE[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "request_types" ("id" bigserial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "requests" CASCADE[0m
[1m[35m (6.8ms)[0m [1m[35mCREATE TABLE "requests" ("id" bigserial primary key, "request_type_id" bigint, "user_id" bigint, "documents" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_requests_on_request_type_id" ON "requests" ("request_type_id")[0m
[1m[35m (3.1ms)[0m [1m[35mCREATE INDEX "index_requests_on_user_id" ON "requests" ("user_id")[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "requirements" CASCADE[0m
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "requirements" ("id" bigserial primary key, "requirements" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tickets" CASCADE[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "tickets" ("id" bigserial primary key, "data_entrada" date, "data_saida" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user_id" integer)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (9.8ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "full_name" character varying, "registration" character varying, "role" integer)[0m
[1m[35m (3.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (3.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.2ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_59d5c2771d"
FOREIGN KEY (“request_type_id”)
REFERENCES "request_types" ("id")
[0m
[1m[35m (2.2ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_8ead8b1e6b"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (6.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.1ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201204220942)[0m
[1m[35m (1.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20201204195343), (20201113005520), (20201204012658), (20201113005619), (20201204190307), (20201204185313), (20191114163205), (20201204172747), (20201203212607), (20201203170755), (20191114162918);
[0m
[1m[35m (8.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (1.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-12-04 22:58:11.401965"], ["updated_at", "2020-12-04 22:58:11.401965"]]
[1m[35m (2.8ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (1.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:58:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (12.9ms)
Completed 200 OK in 291ms (Views: 261.2ms | ActiveRecord: 4.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:58:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 4ms (ActiveRecord: 0.7ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.7ms)
Rendered devise/sessions/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 25ms (Views: 15.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:58:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:58:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 5ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (2.9ms)
Rendered devise/sessions/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:58:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (11.0ms)
Completed 200 OK in 134ms (Views: 113.4ms | ActiveRecord: 4.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:58:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:58:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:58:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.4ms)
Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 14ms (Views: 10.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "admin@admin.com"], ["encrypted_password", "$2a$04$p15qlyHkcWDMWp5VvWf0XuszRaQBnZNhTTnfiNh9HBgR41zOjPhnW"], ["created_at", "2020-12-04 22:59:04.943671"], ["updated_at", "2020-12-04 22:59:04.943671"], ["full_name", "Administrador"], ["registration", "000000000"], ["role", 0]]
[1m[35m (3.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "secretary@secretary.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "secretary@secretary.com"], ["encrypted_password", "$2a$04$0QvmidGgGP74c8kGVrOspuGFX8F9tQj15Uyx8pMjXxIOZIut4oslS"], ["created_at", "2020-12-04 22:59:04.951416"], ["updated_at", "2020-12-04 22:59:04.951416"], ["full_name", "Secretário"], ["registration", "000000000"], ["role", 1]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "professor@professor.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "professor@professor.com"], ["encrypted_password", "$2a$04$gjraMZ5ngKfcKQayOH3JEOA9Ce0tvVphnCRYfAQW.fMlh6dsS/fgG"], ["created_at", "2020-12-04 22:59:04.955684"], ["updated_at", "2020-12-04 22:59:04.955684"], ["full_name", "Professor"], ["registration", "000000000"], ["role", 2]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "student@student.com"], ["encrypted_password", "$2a$04$EuMC2vscAAbkSQo7ItgOwe77ReRX5TqH4gImhpGvEMQpYhm6GUR52"], ["created_at", "2020-12-04 22:59:04.959526"], ["updated_at", "2020-12-04 22:59:04.959526"], ["full_name", "Aluno"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:59:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 155ms (Views: 125.6ms | ActiveRecord: 7.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:59:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 19:59:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 19:59:11 -0300 Processing by DiariaController#new as HTML Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:59:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.7ms) Rendered devise/sessions/new.html.erb within layouts/application (7.2ms)
Completed 200 OK in 17ms (Views: 12.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 19:59:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 19:59:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.7ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 19:59:11 -0300 Processing by DiariaController#new as HTML Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:00:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 148ms (Views: 123.9ms | ActiveRecord: 4.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:00:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:00:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.9ms)
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:00:11 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (16.6ms) Rendered bookings/new.html.erb within layouts/application (18.8ms)
Completed 200 OK in 52ms (Views: 28.1ms | ActiveRecord: 4.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:00:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:00:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:00:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (3.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.6ms)
Completed 200 OK in 8ms (Views: 3.5ms | ActiveRecord: 3.7ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:00:11 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (20.4ms) Rendered bookings/new.html.erb within layouts/application (20.8ms)
Completed 200 OK in 41ms (Views: 39.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:00:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (14.4ms)
Completed 200 OK in 159ms (Views: 137.0ms | ActiveRecord: 4.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:00:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (8.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 24ms (ActiveRecord: 9.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:00:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:00:50 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.5ms) Rendered bookings/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 17ms (Views: 7.5ms | ActiveRecord: 3.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:00:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:00:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 1.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:00:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 1.5ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:00:50 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.6ms) Rendered bookings/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:06:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (8.3ms)
Completed 200 OK in 121ms (Views: 102.8ms | ActiveRecord: 3.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:06:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 36ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:06:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:06:01 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.7ms) Rendered bookings/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 35ms (Views: 6.1ms | ActiveRecord: 13.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:06:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.2ms) Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:06:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:06:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:06:01 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.3ms) Rendered bookings/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:33:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (18.3ms)
Completed 200 OK in 151ms (Views: 129.6ms | ActiveRecord: 4.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:33:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:33:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:33:14 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.5ms) Rendered bookings/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 19ms (Views: 10.6ms | ActiveRecord: 3.4ms)
[1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:33:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:33:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:33:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.0ms)
Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 1.6ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:33:14 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.4ms) Rendered bookings/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:37:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 127ms (Views: 95.5ms | ActiveRecord: 10.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:37:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:37:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:37:18 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (18.6ms) Rendered bookings/new.html.erb within layouts/application (21.0ms)
Completed 200 OK in 36ms (Views: 24.0ms | ActiveRecord: 4.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:37:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:37:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:37:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:37:18 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (2.2ms) Rendered bookings/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:39:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 110ms (Views: 93.4ms | ActiveRecord: 3.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:39:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 33ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:39:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:39:12 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.1ms) Rendered bookings/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 31ms (Views: 5.4ms | ActiveRecord: 4.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:39:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:39:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:39:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:39:12 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (2.9ms) Rendered bookings/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:39:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (7.2ms)
Completed 200 OK in 167ms (Views: 129.3ms | ActiveRecord: 18.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:39:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:39:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:39:34 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.5ms) Rendered bookings/new.html.erb within layouts/application (4.4ms)
Completed 200 OK in 13ms (Views: 6.1ms | ActiveRecord: 2.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:39:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (10.1ms)
Completed 200 OK in 16ms (Views: 13.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:39:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:39:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 1.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:39:34 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (9.9ms) Rendered bookings/new.html.erb within layouts/application (10.9ms)
Completed 200 OK in 19ms (Views: 16.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (1.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:40:36 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 109ms (Views: 92.0ms | ActiveRecord: 3.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:40:36 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 34ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:40:36 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:40:36 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.3ms) Rendered bookings/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 14ms (Views: 6.1ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:40:36 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:40:36 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:40:36 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (9.8ms)
Completed 200 OK in 16ms (Views: 11.3ms | ActiveRecord: 1.9ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:40:37 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.3ms) Rendered bookings/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m [1m[35m (1.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:40:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 123ms (Views: 104.1ms | ActiveRecord: 3.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:40:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 35ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:40:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:40:59 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.1ms) Rendered bookings/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 12ms (Views: 5.3ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:41:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 16ms (Views: 11.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:41:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:41:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:41:00 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (8.8ms) Rendered bookings/new.html.erb within layouts/application (9.1ms)
Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:41:19 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 104ms (Views: 87.7ms | ActiveRecord: 3.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:41:19 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 32ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:41:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:41:19 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.1ms) Rendered bookings/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 36ms (Views: 8.4ms | ActiveRecord: 2.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:41:19 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:41:19 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:41:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:41:19 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.4ms) Rendered bookings/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:41:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 115ms (Views: 90.7ms | ActiveRecord: 7.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:41:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 33ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:41:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:41:56 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (11.8ms) Rendered bookings/new.html.erb within layouts/application (13.9ms)
Completed 200 OK in 28ms (Views: 18.7ms | ActiveRecord: 3.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:41:56 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 16ms (Views: 9.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:41:56 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:41:56 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:41:56 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.6ms) Rendered bookings/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (9.3ms)
Completed 200 OK in 198ms (Views: 187.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (7.4ms)
Completed 200 OK in 22ms (Views: 10.7ms | ActiveRecord: 5.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.6ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 23:42:18.682018"], ["updated_at", "2020-12-04 23:42:18.682018"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (1.6ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 16ms (Views: 12.2ms | ActiveRecord: 2.0ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (8.2ms)
Completed 500 Internal Server Error in 18ms (ActiveRecord: 3.1ms)
[1m[35m (2.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (8.5ms)
Completed 200 OK in 16ms (Views: 15.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 23:42:18.916220"], ["updated_at", "2020-12-04 23:42:18.916220"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (17.6ms)
Completed 200 OK in 23ms (Views: 22.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (21.1ms) Rendered bookings/new.html.erb within layouts/application (23.1ms)
Completed 200 OK in 63ms (Views: 35.1ms | ActiveRecord: 4.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (2.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (8.5ms)
Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 13ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.3ms) Rendered bookings/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.3ms)
Completed 200 OK in 14ms (Views: 10.9ms | ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.0ms) Rendered request_deadlines/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 20ms (Views: 9.7ms | ActiveRecord: 3.5ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.8ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-04 23:42:19.416321"], ["updated_at", "2020-12-04 23:42:19.416321"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 1.5ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.4ms) Rendered request_deadlines/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.0ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.0ms) Rendered tickets/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 20ms (Views: 5.7ms | ActiveRecord: 2.7ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (2.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.8ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 23:42:19.587781"], ["updated_at", "2020-12-04 23:42:19.587781"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/1 Completed 302 Found in 15ms (ActiveRecord: 4.1ms) Started GET “/tickets/1” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (2.9ms)
Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 20:42:19 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.2ms) Rendered tickets/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to FixColumnName (20201204234533)
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "bookings" RENAME COLUMN "date_saida" TO "data_saida"[0m
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201204234533"]]
[1m[35m (3.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (3.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (9.1ms)
Completed 200 OK in 148ms (Views: 142.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 11ms (Views: 3.8ms | ActiveRecord: 2.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-04 23:46:48.442543"], ["updated_at", "2020-12-04 23:46:48.442543"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.1ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.7ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (4.2ms)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-04 23:46:48.598455"], ["updated_at", "2020-12-04 23:46:48.598455"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.5ms) Rendered bookings/new.html.erb within layouts/application (7.3ms)
Completed 200 OK in 24ms (Views: 11.2ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.6ms) Rendered bookings/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.1ms) Rendered request_deadlines/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 13ms (Views: 6.1ms | ActiveRecord: 2.2ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-04 23:46:48.850434"], ["updated_at", "2020-12-04 23:46:48.850434"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 3ms (ActiveRecord: 0.9ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (1.7ms) Rendered request_deadlines/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.1ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.5ms) Rendered tickets/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 13ms (Views: 4.7ms | ActiveRecord: 2.4ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.3ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 23:46:48.961900"], ["updated_at", "2020-12-04 23:46:48.961900"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/2 Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET “/tickets/2” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.6ms)
Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 20:46:48 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.1ms) Rendered tickets/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m [1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:48:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 148ms (Views: 132.1ms | ActiveRecord: 3.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:48:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:48:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:48:29 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.1ms) Rendered bookings/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 12ms (Views: 5.3ms | ActiveRecord: 2.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:48:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:48:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:48:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:48:29 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (2.1ms) Rendered bookings/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:50:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (8.6ms)
Completed 200 OK in 162ms (Views: 146.1ms | ActiveRecord: 3.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:50:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:50:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:50:22 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.8ms) Rendered bookings/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 28ms (Views: 6.7ms | ActiveRecord: 10.6ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 20:50:22 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (2.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 23:50:22.693142"], ["updated_at", "2020-12-04 23:50:22.693142"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/1 Completed 302 Found in 5ms (ActiveRecord: 2.6ms) Started GET “/bookings/1” for 127.0.0.1 at 2020-12-04 20:50:22 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.6ms)
Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:50:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:50:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 23ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:50:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:50:22 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.1ms) Rendered bookings/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:52:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 104ms (Views: 88.6ms | ActiveRecord: 3.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:52:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:52:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:52:12 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.2ms) Rendered bookings/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 12ms (Views: 5.3ms | ActiveRecord: 2.4ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 20:52:12 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 23:52:12.460566"], ["updated_at", "2020-12-04 23:52:12.460566"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/2 Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET “/bookings/2” for 127.0.0.1 at 2020-12-04 20:52:12 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (4.3ms)
Completed 200 OK in 14ms (Views: 8.8ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (3.3ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:52:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:52:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:52:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.5ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:52:12 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (19.5ms) Rendered bookings/new.html.erb within layouts/application (19.8ms)
Completed 200 OK in 25ms (Views: 24.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
Migrating to AddUserIdToBookings (20201204235248)
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (4.6ms)[0m [1m[35mALTER TABLE "bookings" ADD "user_id" integer[0m
[1m[36mActiveRecord::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20201204235248"]]
[1m[35m (1.9ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (2.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:54:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (16.5ms)
Completed 200 OK in 260ms (Views: 234.1ms | ActiveRecord: 6.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:54:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:54:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:54:08 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.2ms) Rendered bookings/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 19ms (Views: 8.0ms | ActiveRecord: 3.7ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 20:54:08 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 23:54:08.425596"], ["updated_at", "2020-12-04 23:54:08.425596"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/3 Completed 302 Found in 10ms (ActiveRecord: 1.2ms) Started GET “/bookings/3” for 127.0.0.1 at 2020-12-04 20:54:08 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mBooking Load (1.9ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (3.3ms)
Completed 200 OK in 22ms (Views: 9.4ms | ActiveRecord: 1.9ms)
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:54:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:54:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:54:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.5ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:54:08 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.5ms) Rendered bookings/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms)
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:55:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 148ms (Views: 119.2ms | ActiveRecord: 9.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:55:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:55:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:55:41 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.8ms) Rendered bookings/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 16ms (Views: 7.5ms | ActiveRecord: 2.8ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 20:55:41 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (2.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 23:55:41.953295"], ["updated_at", "2020-12-04 23:55:41.953295"], ["user_id", 4]]
[1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/4 Completed 302 Found in 22ms (ActiveRecord: 3.9ms) Started GET “/bookings/4” for 127.0.0.1 at 2020-12-04 20:55:41 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:55:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.0ms) Rendered devise/sessions/new.html.erb within layouts/application (7.6ms)
Completed 200 OK in 17ms (Views: 11.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:55:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:55:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:55:42 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.8ms) Rendered bookings/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m [1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 137ms (Views: 116.3ms | ActiveRecord: 3.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.3ms) Rendered bookings/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 30ms (Views: 6.2ms | ActiveRecord: 11.5ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 23:56:06.575337"], ["updated_at", "2020-12-04 23:56:06.575337"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/5 Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Started GET “/bookings/5” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (2.0ms)
Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.5ms) Rendered bookings/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.3ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-05"], ["data_saida", "2020-01-01"], ["created_at", "2020-12-04 23:56:06.726906"], ["updated_at", "2020-12-04 23:56:06.726906"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/6 Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/bookings/6” for 127.0.0.1 at 2020-12-04 20:56:06 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mBooking Load (1.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.3ms)
Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 1.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:58:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 141ms (Views: 118.1ms | ActiveRecord: 8.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:58:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:58:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:58:48 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.2ms) Rendered bookings/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 45ms (Views: 9.6ms | ActiveRecord: 14.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 20:58:48 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-04 23:58:48.701702"], ["updated_at", "2020-12-04 23:58:48.701702"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/7 Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/bookings/7” for 127.0.0.1 at 2020-12-04 20:58:48 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:58:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 20:58:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 20:58:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 20:58:48 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (7.6ms) Rendered bookings/new.html.erb within layouts/application (7.8ms)
Completed 200 OK in 12ms (Views: 9.8ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 20:58:48 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (8.8ms)
Rendered bookings/new.html.erb within layouts/application (9.1ms)
Completed 200 OK in 34ms (Views: 13.7ms | ActiveRecord: 2.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (13.1ms)
Completed 200 OK in 297ms (Views: 289.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:04:51 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (20.7ms)
Completed 200 OK in 53ms (Views: 23.7ms | ActiveRecord: 7.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:04:51 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:04:51.856011"], ["updated_at", "2020-12-05 00:04:51.856011"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 8ms (ActiveRecord: 1.1ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:04:51 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 16ms (Views: 11.4ms | ActiveRecord: 0.5ms)
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 17ms (Views: 12.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 22ms (Views: 17.1ms | ActiveRecord: 1.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 11ms (Views: 7.9ms | ActiveRecord: 0.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (4.8ms)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (17.4ms) Rendered devise/sessions/new.html.erb within layouts/application (20.6ms)
Completed 200 OK in 24ms (Views: 22.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.8ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.6ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:04:52.154300"], ["updated_at", "2020-12-05 00:04:52.154300"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (7.4ms)
Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.6ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (17.7ms) Rendered bookings/new.html.erb within layouts/application (19.3ms)
Completed 200 OK in 62ms (Views: 25.2ms | ActiveRecord: 3.2ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:04:52.427714"], ["updated_at", "2020-12-05 00:04:52.427714"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/8 Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET “/bookings/8” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 8ms (Views: 2.4ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.5ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.9ms) Rendered bookings/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.9ms)
Rendered bookings/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 1.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 1.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (11.6ms) Rendered request_deadlines/new.html.erb within layouts/application (14.7ms)
Completed 200 OK in 37ms (Views: 20.7ms | ActiveRecord: 3.8ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:04:52.718195"], ["updated_at", "2020-12-05 00:04:52.718195"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 12ms (Views: 4.6ms | ActiveRecord: 0.4ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.9ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.8ms)
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.6ms) Rendered request_deadlines/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (6.2ms)
Rendered request_deadlines/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 13ms (Views: 9.8ms | ActiveRecord: 0.6ms)
[1m[35m (3.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (2.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.6ms)
Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 1.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:04:52 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (9.4ms) Rendered tickets/new.html.erb within layouts/application (12.1ms)
Completed 200 OK in 41ms (Views: 15.7ms | ActiveRecord: 6.8ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:04:53 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:04:53.026813"], ["updated_at", "2020-12-05 00:04:53.026813"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/3 Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET “/tickets/3” for 127.0.0.1 at 2020-12-04 21:04:53 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 4ms (Views: 2.2ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (4.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:04:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:04:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:04:53 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.8ms) Rendered tickets/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (117.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "secretaria_ppgi_test"[0m
[1m[35m (318.5ms)[0m [1m[35mCREATE DATABASE "secretaria_ppgi_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "bookings" CASCADE[0m
[1m[35m (8.4ms)[0m [1m[35mCREATE TABLE "bookings" ("id" bigserial primary key, "data_entrada" date, "data_saida" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user_id" integer)[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "budgets" CASCADE[0m
[1m[35m (7.9ms)[0m [1m[35mCREATE TABLE "budgets" ("id" bigserial primary key, "value" decimal, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "request_deadlines" CASCADE[0m
[1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "request_deadlines" ("id" bigserial primary key, "deadline" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "request_types" CASCADE[0m
[1m[35m (8.5ms)[0m [1m[35mCREATE TABLE "request_types" ("id" bigserial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "requests" CASCADE[0m
[1m[35m (10.4ms)[0m [1m[35mCREATE TABLE "requests" ("id" bigserial primary key, "request_type_id" bigint, "user_id" bigint, "documents" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_requests_on_request_type_id" ON "requests" ("request_type_id")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_requests_on_user_id" ON "requests" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "requirements" CASCADE[0m
[1m[35m (7.6ms)[0m [1m[35mCREATE TABLE "requirements" ("id" bigserial primary key, "requirements" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tickets" CASCADE[0m
[1m[35m (9.5ms)[0m [1m[35mCREATE TABLE "tickets" ("id" bigserial primary key, "data_entrada" date, "data_saida" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user_id" integer)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (9.7ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "full_name" character varying, "registration" character varying, "role" integer)[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (5.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_59d5c2771d"
FOREIGN KEY (“request_type_id”)
REFERENCES "request_types" ("id")
[0m
[1m[35m (2.4ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_8ead8b1e6b"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (7.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201204235248)[0m
[1m[35m (1.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20201204195343), (20201113005520), (20201113005619), (20201204190307), (20201204185313), (20201204220942), (20191114163205), (20201204172747), (20201203212607), (20201203170755), (20191114162918);
[0m
[1m[35m (6.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-12-05 00:13:06.126121"], ["updated_at", "2020-12-05 00:13:06.126121"]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:06 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 285ms (Views: 263.3ms | ActiveRecord: 5.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:06 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:06 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:06 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:06 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:06 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:13:06 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:06 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:06 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:13:06 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.6ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (7.2ms)
Completed 200 OK in 138ms (Views: 123.2ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.9ms)
Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (11.6ms)
Completed 200 OK in 22ms (Views: 20.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 4ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.5ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.5ms) Rendered devise/sessions/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 14ms (Views: 10.0ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:13:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.8ms) Rendered devise/sessions/new.html.erb within layouts/application (9.6ms)
Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:13:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:13:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "admin@admin.com"], ["encrypted_password", "$2a$04$YWgMq8UNQTjyZkkQxSGzq.0KxogYIgBO3MmSXoablogWy8Hxtsi.O"], ["created_at", "2020-12-05 00:13:53.551063"], ["updated_at", "2020-12-05 00:13:53.551063"], ["full_name", "Administrador"], ["registration", "000000000"], ["role", 0]]
[1m[35m (4.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "secretary@secretary.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "secretary@secretary.com"], ["encrypted_password", "$2a$04$GP36Au3tQX7SCm1HvL0/auAHdy5.8dVazxEpmotrEX0MtHV9hf5GC"], ["created_at", "2020-12-05 00:13:53.565138"], ["updated_at", "2020-12-05 00:13:53.565138"], ["full_name", "Secretário"], ["registration", "000000000"], ["role", 1]]
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "professor@professor.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "professor@professor.com"], ["encrypted_password", "$2a$04$tdbrfXwMN15Rxl1J.4VzfuEwp3XyV8EyuRyUDOrePafOXq7iTNe7G"], ["created_at", "2020-12-05 00:13:53.572939"], ["updated_at", "2020-12-05 00:13:53.572939"], ["full_name", "Professor"], ["registration", "000000000"], ["role", 2]]
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "student@student.com"], ["encrypted_password", "$2a$04$7vBDB.xxkAltyjALsNz93Oj5UG3bAHqFxazAHX8xyvhVqEIrac7T2"], ["created_at", "2020-12-05 00:13:53.579501"], ["updated_at", "2020-12-05 00:13:53.579501"], ["full_name", "Aluno"], ["registration", "000000000"], ["role", 3]]
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 139ms (Views: 118.7ms | ActiveRecord: 4.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:14:01 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (7.7ms) Rendered bookings/new.html.erb within layouts/application (8.7ms)
Completed 200 OK in 27ms (Views: 13.4ms | ActiveRecord: 2.8ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:14:01 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:14:01.978900"], ["updated_at", "2020-12-05 00:14:01.978900"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/1 Completed 302 Found in 14ms (ActiveRecord: 1.1ms) Started GET “/bookings/1” for 127.0.0.1 at 2020-12-04 21:14:01 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (5.0ms)
Completed 200 OK in 17ms (Views: 10.3ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 9ms (Views: 6.4ms | ActiveRecord: 0.5ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.2ms) Rendered bookings/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 10ms (Views: 9.1ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (2.6ms)
Rendered bookings/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 23ms (Views: 3.9ms | ActiveRecord: 0.6ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.1ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:14:02.195809"], ["updated_at", "2020-12-05 00:14:02.195809"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (5.5ms)
Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 1.4ms)
[1m[35m (2.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 18ms (Views: 16.4ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (7.1ms) Rendered request_deadlines/new.html.erb within layouts/application (9.1ms)
Completed 200 OK in 30ms (Views: 12.6ms | ActiveRecord: 3.9ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:14:02.495941"], ["updated_at", "2020-12-05 00:14:02.495941"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 29ms (Views: 26.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.4ms) Rendered request_deadlines/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.0ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 19ms (Views: 6.1ms | ActiveRecord: 4.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:14:02.695916"], ["updated_at", "2020-12-05 00:14:02.695916"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 6ms (ActiveRecord: 1.3ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (1.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (3.1ms)
Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.6ms) Rendered tickets/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 24ms (Views: 8.2ms | ActiveRecord: 3.3ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.6ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:14:02.872557"], ["updated_at", "2020-12-05 00:14:02.872557"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/1 Completed 302 Found in 9ms (ActiveRecord: 1.6ms) Started GET “/tickets/1” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:14:02 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.7ms) Rendered tickets/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:24 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 138ms (Views: 117.7ms | ActiveRecord: 4.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (16.6ms) Rendered bookings/new.html.erb within layouts/application (19.1ms)
Completed 200 OK in 38ms (Views: 26.7ms | ActiveRecord: 2.6ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:17:25.126814"], ["updated_at", "2020-12-05 00:17:25.126814"], ["user_id", 4]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/2 Completed 302 Found in 11ms (ActiveRecord: 1.4ms) Started GET “/bookings/2” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (9.7ms) Rendered bookings/new.html.erb within layouts/application (10.0ms)
Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.6ms)
Rendered bookings/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 11ms (Views: 5.2ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:17:25.361124"], ["updated_at", "2020-12-05 00:17:25.361124"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 1.1ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 20ms (Views: 15.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.6ms) Rendered request_deadlines/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 21ms (Views: 10.1ms | ActiveRecord: 2.6ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:17:25.652396"], ["updated_at", "2020-12-05 00:17:25.652396"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.7ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.3ms) Rendered request_deadlines/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.8ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 24ms (Views: 7.9ms | ActiveRecord: 4.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.8ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:17:25.835966"], ["updated_at", "2020-12-05 00:17:25.835966"]]
[1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 11ms (ActiveRecord: 2.6ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.8ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.8ms)
Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (6.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (8.6ms)
Completed 200 OK in 12ms (Views: 4.5ms | ActiveRecord: 6.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:17:25 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (9.2ms) Rendered tickets/new.html.erb within layouts/application (10.5ms)
Completed 200 OK in 30ms (Views: 15.5ms | ActiveRecord: 3.7ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:17:26 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (5.8ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:17:26.082162"], ["updated_at", "2020-12-05 00:17:26.082162"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/2 Completed 302 Found in 13ms (ActiveRecord: 6.5ms) Started GET “/tickets/2” for 127.0.0.1 at 2020-12-04 21:17:26 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:17:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:17:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.4ms)
Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 1.7ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:17:26 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.1ms) Rendered tickets/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (8.3ms)
Completed 200 OK in 163ms (Views: 145.3ms | ActiveRecord: 4.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (20.8ms) Rendered bookings/new.html.erb within layouts/application (24.6ms)
Completed 200 OK in 51ms (Views: 28.8ms | ActiveRecord: 3.2ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.6ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:19:46.405689"], ["updated_at", "2020-12-05 00:19:46.405689"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/3 Completed 302 Found in 18ms (ActiveRecord: 1.2ms) Started GET “/bookings/3” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.3ms)
Completed 200 OK in 8ms (Views: 3.6ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 13ms (Views: 9.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.6ms) Rendered bookings/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (2.1ms)
Rendered bookings/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 1.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:19:46.611386"], ["updated_at", "2020-12-05 00:19:46.611386"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 33ms (Views: 21.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (1.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (7.4ms)
Completed 200 OK in 25ms (Views: 20.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.8ms)
Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (12.7ms) Rendered request_deadlines/new.html.erb within layouts/application (14.1ms)
Completed 200 OK in 33ms (Views: 17.3ms | ActiveRecord: 4.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.7ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.7ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:19:46.918241"], ["updated_at", "2020-12-05 00:19:46.918241"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 11ms (ActiveRecord: 3.1ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.9ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:19:46 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.9ms) Rendered request_deadlines/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.2ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (8.5ms)
Completed 200 OK in 29ms (Views: 11.6ms | ActiveRecord: 7.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.7ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:19:47.144735"], ["updated_at", "2020-12-05 00:19:47.144735"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 4ms (ActiveRecord: 1.1ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 1.0ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.9ms)
Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.2ms) Rendered tickets/new.html.erb within layouts/application (7.3ms)
Completed 200 OK in 20ms (Views: 10.5ms | ActiveRecord: 2.8ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.3ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:19:47.315636"], ["updated_at", "2020-12-05 00:19:47.315636"], ["user_id", 4]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/3 Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET “/tickets/3” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mTicket Load (0.8ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 0.8ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (1.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.0ms) Rendered tickets/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:19:47 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.8ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (4.6ms)
Rendered tickets/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 13ms (Views: 6.7ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 153ms (Views: 136.6ms | ActiveRecord: 3.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.7ms) Rendered bookings/new.html.erb within layouts/application (9.3ms)
Completed 200 OK in 48ms (Views: 13.2ms | ActiveRecord: 2.6ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.9ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:22:30.629909"], ["updated_at", "2020-12-05 00:22:30.629909"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/4 Completed 302 Found in 17ms (ActiveRecord: 1.8ms) Started GET “/bookings/4” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (2.4ms)
Completed 200 OK in 12ms (Views: 7.3ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.7ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 13ms (Views: 11.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (7.2ms) Rendered bookings/new.html.erb within layouts/application (7.4ms)
Completed 200 OK in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (2.0ms)
Rendered bookings/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (1.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:22:30.822255"], ["updated_at", "2020-12-05 00:22:30.822255"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (10.8ms)
Completed 200 OK in 19ms (Views: 16.9ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (9.5ms)
Completed 200 OK in 22ms (Views: 16.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 17ms (Views: 15.5ms | ActiveRecord: 0.7ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.5ms) Rendered request_deadlines/new.html.erb within layouts/application (8.6ms)
Completed 200 OK in 22ms (Views: 11.7ms | ActiveRecord: 3.6ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:22:31.116997"], ["updated_at", "2020-12-05 00:22:31.116997"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.5ms) Rendered request_deadlines/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.1ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 26ms (Views: 7.2ms | ActiveRecord: 6.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:22:31.296410"], ["updated_at", "2020-12-05 00:22:31.296410"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 6ms (ActiveRecord: 1.9ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (5.1ms)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.0ms) Rendered tickets/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 21ms (Views: 8.2ms | ActiveRecord: 3.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (1.0ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:22:31.475285"], ["updated_at", "2020-12-05 00:22:31.475285"], ["user_id", 4]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/4 Completed 302 Found in 10ms (ActiveRecord: 2.0ms) Started GET “/tickets/4” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.7ms) Rendered tickets/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:22:31 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.3ms)
Rendered tickets/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (9.2ms)
Completed 200 OK in 168ms (Views: 146.7ms | ActiveRecord: 6.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:25:53 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (25.0ms) Rendered bookings/new.html.erb within layouts/application (26.2ms)
Completed 200 OK in 37ms (Views: 29.3ms | ActiveRecord: 1.9ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:25:53 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:25:53.849208"], ["updated_at", "2020-12-05 00:25:53.849208"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/5 Completed 302 Found in 16ms (ActiveRecord: 1.0ms) Started GET “/bookings/5” for 127.0.0.1 at 2020-12-04 21:25:53 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.1ms)
Completed 200 OK in 11ms (Views: 7.3ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:25:53 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (7.7ms) Rendered bookings/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:25:53 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (4.5ms)
Rendered bookings/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 10ms (Views: 6.2ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.1ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:25:54.050657"], ["updated_at", "2020-12-05 00:25:54.050657"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.5ms)
Completed 200 OK in 10ms (Views: 6.3ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (6.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (7.3ms)
Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 10ms (Views: 9.0ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.9ms) Rendered request_deadlines/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 28ms (Views: 8.4ms | ActiveRecord: 4.4ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.0ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:25:54.362045"], ["updated_at", "2020-12-05 00:25:54.362045"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 1.5ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.1ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.9ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (1.7ms) Rendered request_deadlines/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (3.9ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.6ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 13ms (Views: 5.8ms | ActiveRecord: 4.3ms)
[1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 17ms (Views: 6.6ms | ActiveRecord: 3.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.3ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:25:54.518931"], ["updated_at", "2020-12-05 00:25:54.518931"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.6ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (3.5ms)
Completed 500 Internal Server Error in 9ms (ActiveRecord: 0.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (8.3ms) Rendered tickets/new.html.erb within layouts/application (10.5ms)
Completed 200 OK in 27ms (Views: 13.6ms | ActiveRecord: 4.1ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:25:54.695894"], ["updated_at", "2020-12-05 00:25:54.695894"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/5 Completed 302 Found in 8ms (ActiveRecord: 0.9ms) Started GET “/tickets/5” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (2.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 14ms (Views: 11.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.6ms) Rendered tickets/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:25:54 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.0ms)
Rendered tickets/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 149ms (Views: 132.1ms | ActiveRecord: 2.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (26.9ms) Rendered bookings/new.html.erb within layouts/application (27.9ms)
Completed 200 OK in 43ms (Views: 31.2ms | ActiveRecord: 2.7ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:27:04.129078"], ["updated_at", "2020-12-05 00:27:04.129078"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/6 Completed 302 Found in 13ms (ActiveRecord: 1.1ms) Started GET “/bookings/6” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (2.1ms)
Completed 200 OK in 13ms (Views: 10.1ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 14ms (Views: 12.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (9.2ms) Rendered bookings/new.html.erb within layouts/application (9.4ms)
Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.9ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (2.6ms)
Rendered bookings/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 10ms (Views: 4.0ms | ActiveRecord: 2.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:27:04.356088"], ["updated_at", "2020-12-05 00:27:04.356088"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (1.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 1.0ms)
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.1ms) Rendered devise/sessions/new.html.erb within layouts/application (11.6ms)
Completed 200 OK in 19ms (Views: 15.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.8ms) Rendered request_deadlines/new.html.erb within layouts/application (8.3ms)
Completed 200 OK in 24ms (Views: 12.4ms | ActiveRecord: 2.7ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.8ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.6ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:27:04.647851"], ["updated_at", "2020-12-05 00:27:04.647851"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.8ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.1ms) Rendered request_deadlines/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.9ms)
Rendered request_deadlines/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 11ms (Views: 5.9ms | ActiveRecord: 0.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application Rendered requirements/new.html.erb within layouts/application (0.9ms)
Completed 500 Internal Server Error in 13ms (ActiveRecord: 5.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application Rendered requirements/new.html.erb within layouts/application (1.3ms)
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (7.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 7.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.3ms) Rendered tickets/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 24ms (Views: 10.1ms | ActiveRecord: 2.9ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:27:04.970421"], ["updated_at", "2020-12-05 00:27:04.970421"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/6 Completed 302 Found in 10ms (ActiveRecord: 1.8ms) Started GET “/tickets/6” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:05 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:05 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:27:05 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.6ms) Rendered tickets/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:27:05 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.8ms)
Rendered tickets/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (10.4ms)
Completed 200 OK in 138ms (Views: 122.7ms | ActiveRecord: 3.6ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:27:17 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.8ms) Rendered bookings/new.html.erb within layouts/application (7.1ms)
Completed 200 OK in 36ms (Views: 13.0ms | ActiveRecord: 2.6ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:27:17 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:27:17.941539"], ["updated_at", "2020-12-05 00:27:17.941539"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/7 Completed 302 Found in 17ms (ActiveRecord: 1.3ms) Started GET “/bookings/7” for 127.0.0.1 at 2020-12-04 21:27:17 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (2.4ms)
Completed 200 OK in 11ms (Views: 6.9ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.6ms) Rendered bookings/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (2.2ms)
Rendered bookings/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:27:18.145794"], ["updated_at", "2020-12-05 00:27:18.145794"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.5ms)
Completed 200 OK in 9ms (Views: 6.5ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 14ms (Views: 9.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.8ms)
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 13ms (Views: 10.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (8.5ms) Rendered request_deadlines/new.html.erb within layouts/application (10.0ms)
Completed 200 OK in 25ms (Views: 14.1ms | ActiveRecord: 4.1ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:27:18.456464"], ["updated_at", "2020-12-05 00:27:18.456464"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.8ms) Rendered request_deadlines/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.0ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (7.7ms)
Completed 500 Internal Server Error in 18ms (ActiveRecord: 4.1ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.6ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.0ms)
Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.8ms) Rendered tickets/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 23ms (Views: 7.3ms | ActiveRecord: 5.2ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:27:18.740506"], ["updated_at", "2020-12-05 00:27:18.740506"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/7 Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET “/tickets/7” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mTicket Load (0.5ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.5ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.9ms) Rendered tickets/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:27:18 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.2ms)
Rendered tickets/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.6ms) Rendered devise/sessions/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 136ms (Views: 121.2ms | ActiveRecord: 3.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (23.0ms) Rendered bookings/new.html.erb within layouts/application (26.4ms)
Completed 200 OK in 45ms (Views: 33.7ms | ActiveRecord: 2.9ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:27:59.759562"], ["updated_at", "2020-12-05 00:27:59.759562"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/8 Completed 302 Found in 11ms (ActiveRecord: 0.9ms) Started GET “/bookings/8” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.9ms)
Completed 200 OK in 9ms (Views: 4.9ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 13ms (Views: 10.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.2ms)
Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.9ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.3ms) Rendered bookings/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.3ms)
Rendered bookings/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 10ms (Views: 5.6ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:27:59.977598"], ["updated_at", "2020-12-05 00:27:59.977598"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:27:59 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (10.0ms)
Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.5ms) Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 15ms (Views: 12.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.1ms) Rendered request_deadlines/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 33ms (Views: 7.3ms | ActiveRecord: 4.6ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.8ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:28:00.245967"], ["updated_at", "2020-12-05 00:28:00.245967"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 1.5ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.3ms)
[1m[35m (1.1ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.8ms) Rendered request_deadlines/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.1ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (8.3ms)
Completed 500 Internal Server Error in 20ms (ActiveRecord: 4.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.7ms)
Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.2ms) Rendered tickets/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 20ms (Views: 7.1ms | ActiveRecord: 2.7ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:28:00.538647"], ["updated_at", "2020-12-05 00:28:00.538647"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/8 Completed 302 Found in 8ms (ActiveRecord: 1.3ms) Started GET “/tickets/8” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.5ms) Rendered tickets/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:28:00 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.5ms)
Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 144ms (Views: 120.6ms | ActiveRecord: 6.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:28:29 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.7ms) Rendered bookings/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 42ms (Views: 11.2ms | ActiveRecord: 2.8ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (1.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:28:30.043270"], ["updated_at", "2020-12-05 00:28:30.043270"], ["user_id", 4]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/9 Completed 302 Found in 18ms (ActiveRecord: 2.2ms) Started GET “/bookings/9” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (2.1ms)
Completed 200 OK in 11ms (Views: 6.3ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (7.2ms)
Completed 200 OK in 17ms (Views: 15.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.6ms) Rendered bookings/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.3ms)
Rendered bookings/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 1.0ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:28:30.263295"], ["updated_at", "2020-12-05 00:28:30.263295"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (7.6ms)
Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 1.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (9.8ms)
Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.4ms) Rendered request_deadlines/new.html.erb within layouts/application (7.8ms)
Completed 200 OK in 21ms (Views: 11.0ms | ActiveRecord: 2.6ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (3.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:28:30.540188"], ["updated_at", "2020-12-05 00:28:30.540188"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 10ms (ActiveRecord: 4.7ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.6ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.5ms) Rendered devise/sessions/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.9ms)
Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.2ms) Rendered request_deadlines/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.6ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by RequirementsController#new as HTML
[1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 45ms (Views: 8.3ms | ActiveRecord: 7.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (3.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:28:30.772597"], ["updated_at", "2020-12-05 00:28:30.772597"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 7ms (ActiveRecord: 4.1ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by RequirementsController#new as HTML
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (3.6ms)
Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.0ms) Rendered tickets/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 21ms (Views: 9.2ms | ActiveRecord: 3.2ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.3ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:28:30.951465"], ["updated_at", "2020-12-05 00:28:30.951465"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/9 Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET “/tickets/9” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:30 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:28:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:28:31 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.0ms) Rendered tickets/new.html.erb within layouts/application (4.4ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:28:31 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.4ms)
Rendered tickets/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.4ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 150ms (Views: 126.8ms | ActiveRecord: 5.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:29:16 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.8ms) Rendered bookings/new.html.erb within layouts/application (14.6ms)
Completed 200 OK in 39ms (Views: 18.2ms | ActiveRecord: 3.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:29:16 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:29:16.901967"], ["updated_at", "2020-12-05 00:29:16.901967"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/10 Completed 302 Found in 12ms (ActiveRecord: 1.2ms) Started GET “/bookings/10” for 127.0.0.1 at 2020-12-04 21:29:16 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.3ms)
Completed 200 OK in 10ms (Views: 4.0ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 11ms (Views: 8.3ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.7ms) Rendered bookings/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.1ms)
Rendered bookings/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.7ms)
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.1ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:29:17.126146"], ["updated_at", "2020-12-05 00:29:17.126146"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.7ms)
Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (12.0ms)
Completed 200 OK in 22ms (Views: 20.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.6ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.7ms) Rendered request_deadlines/new.html.erb within layouts/application (8.1ms)
Completed 200 OK in 21ms (Views: 10.2ms | ActiveRecord: 4.8ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:29:17.441753"], ["updated_at", "2020-12-05 00:29:17.441753"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (1.8ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (3.8ms)
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 1.8ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.1ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.2ms) Rendered request_deadlines/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.1ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by RequirementsController#new as HTML
[1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (7.2ms)
Completed 500 Internal Server Error in 25ms (ActiveRecord: 6.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.4ms) Rendered devise/sessions/new.html.erb within layouts/application (15.1ms)
Completed 200 OK in 19ms (Views: 17.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.8ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by RequirementsController#new as HTML
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (5.7ms)
Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 1.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 2.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (10.3ms) Rendered tickets/new.html.erb within layouts/application (12.8ms)
Completed 200 OK in 31ms (Views: 18.7ms | ActiveRecord: 4.1ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.6ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:29:17.836181"], ["updated_at", "2020-12-05 00:29:17.836181"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/10 Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET “/tickets/10” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.7ms) Rendered tickets/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:29:17 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.4ms)
Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 13ms (Views: 5.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 212ms (Views: 191.3ms | ActiveRecord: 4.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.4ms) Rendered bookings/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 16ms (Views: 7.2ms | ActiveRecord: 2.2ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:33:28.657870"], ["updated_at", "2020-12-05 00:33:28.657870"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/11 Completed 302 Found in 11ms (ActiveRecord: 1.2ms) Started GET “/bookings/11” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mBooking Load (0.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.5ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.9ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.3ms) Rendered bookings/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (2.2ms)
Rendered bookings/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:33:28.838300"], ["updated_at", "2020-12-05 00:33:28.838300"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (7.7ms)
Completed 200 OK in 13ms (Views: 9.2ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:33:28 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (7.5ms) Rendered request_deadlines/new.html.erb within layouts/application (9.5ms)
Completed 200 OK in 26ms (Views: 11.5ms | ActiveRecord: 6.4ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.1ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:33:29.030153"], ["updated_at", "2020-12-05 00:33:29.030153"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 13ms (ActiveRecord: 3.3ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 14ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.1ms) Rendered request_deadlines/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.1ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (5.7ms)
Completed 500 Internal Server Error in 14ms (ActiveRecord: 3.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 26ms (Views: 24.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.0ms)
Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (4.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.0ms)
Completed 200 OK in 9ms (Views: 4.0ms | ActiveRecord: 4.1ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.2ms) Rendered tickets/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 23ms (Views: 7.1ms | ActiveRecord: 4.1ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:33:29.372939"], ["updated_at", "2020-12-05 00:33:29.372939"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/11 Completed 302 Found in 10ms (ActiveRecord: 1.4ms) Started GET “/tickets/11” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mTicket Load (0.8ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 9ms (Views: 2.7ms | ActiveRecord: 0.8ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.0ms)
Completed 200 OK in 11ms (Views: 7.9ms | ActiveRecord: 2.1ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.9ms) Rendered tickets/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:33:29 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.3ms)
Rendered tickets/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (10.5ms)
Completed 200 OK in 169ms (Views: 151.9ms | ActiveRecord: 3.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (13.2ms) Rendered bookings/new.html.erb within layouts/application (15.6ms)
Completed 200 OK in 33ms (Views: 20.6ms | ActiveRecord: 2.7ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:33:48.176621"], ["updated_at", "2020-12-05 00:33:48.176621"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/12 Completed 302 Found in 21ms (ActiveRecord: 2.0ms) Started GET “/bookings/12” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mBooking Load (8.0ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (2.6ms)
Completed 200 OK in 18ms (Views: 6.7ms | ActiveRecord: 8.0ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.4ms) Rendered bookings/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (6.1ms)
Rendered bookings/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 16ms (Views: 9.2ms | ActiveRecord: 1.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.6ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:33:48.400871"], ["updated_at", "2020-12-05 00:33:48.400871"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (7.6ms)
Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 21ms (Views: 17.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 1.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (2.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.6ms)
[1m[35m (2.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.9ms) Rendered devise/sessions/new.html.erb within layouts/application (7.8ms)
Completed 200 OK in 16ms (Views: 15.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.9ms)
Completed 200 OK in 13ms (Views: 11.4ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.9ms) Rendered request_deadlines/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 26ms (Views: 5.5ms | ActiveRecord: 2.6ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:33:48.684435"], ["updated_at", "2020-12-05 00:33:48.684435"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.1ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (1.6ms) Rendered request_deadlines/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (1.9ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 19ms (Views: 7.7ms | ActiveRecord: 4.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.3ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:33:48.822375"], ["updated_at", "2020-12-05 00:33:48.822375"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (4.4ms)
Completed 500 Internal Server Error in 10ms (ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (8.1ms)
Completed 200 OK in 12ms (Views: 10.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:33:48 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.6ms) Rendered tickets/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 22ms (Views: 9.4ms | ActiveRecord: 3.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:33:49 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:33:49.035447"], ["updated_at", "2020-12-05 00:33:49.035447"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/12 Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/tickets/12” for 127.0.0.1 at 2020-12-04 21:33:49 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.0ms)
Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:33:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:33:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:33:49 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.6ms) Rendered tickets/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:33:49 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (4.4ms)
Rendered tickets/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 10ms (Views: 6.1ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:24 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.0ms) Rendered devise/sessions/new.html.erb within layouts/application (10.3ms)
Completed 200 OK in 170ms (Views: 148.9ms | ActiveRecord: 5.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:24 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:24 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:34:24 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.7ms) Rendered bookings/new.html.erb within layouts/application (8.1ms)
Completed 200 OK in 57ms (Views: 20.8ms | ActiveRecord: 2.4ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:34:24 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:34:25.010827"], ["updated_at", "2020-12-05 00:34:25.010827"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/13 Completed 302 Found in 11ms (ActiveRecord: 1.0ms) Started GET “/bookings/13” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mBooking Load (1.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.5ms)
Completed 200 OK in 13ms (Views: 5.5ms | ActiveRecord: 1.5ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.4ms)
Completed 200 OK in 14ms (Views: 9.6ms | ActiveRecord: 1.9ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (13.4ms) Rendered bookings/new.html.erb within layouts/application (13.7ms)
Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.4ms)
Rendered bookings/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:34:25.258696"], ["updated_at", "2020-12-05 00:34:25.258696"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 19ms (Views: 16.6ms | ActiveRecord: 1.4ms)
[1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.2ms)
Completed 200 OK in 20ms (Views: 18.3ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.9ms) Rendered devise/sessions/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 19ms (Views: 17.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.3ms) Rendered request_deadlines/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 14ms (Views: 6.4ms | ActiveRecord: 2.5ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:34:25.572389"], ["updated_at", "2020-12-05 00:34:25.572389"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.7ms) Rendered request_deadlines/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.7ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.5ms)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 2.9ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.6ms)
Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.7ms) Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 14ms (Views: 5.8ms | ActiveRecord: 2.7ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:34:25.779996"], ["updated_at", "2020-12-05 00:34:25.779996"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/13 Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET “/tickets/13” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.0ms) Rendered tickets/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:34:25 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.5ms)
Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 14ms (Views: 5.2ms | ActiveRecord: 0.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.5ms) Rendered devise/sessions/new.html.erb within layouts/application (26.4ms)
Completed 200 OK in 329ms (Views: 310.3ms | ActiveRecord: 4.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 38ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.8ms)
Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.0ms) Rendered bookings/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 23ms (Views: 7.0ms | ActiveRecord: 6.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (1.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:38:16.661901"], ["updated_at", "2020-12-05 00:38:16.661901"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/14 Completed 302 Found in 9ms (ActiveRecord: 2.1ms) Started GET “/bookings/14” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.0ms)
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (2.4ms) Rendered bookings/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (5.4ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (4.8ms)
Rendered bookings/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 16ms (Views: 6.1ms | ActiveRecord: 6.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (1.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:38:16.802443"], ["updated_at", "2020-12-05 00:38:16.802443"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.7ms)
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.8ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 1.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.8ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.3ms) Rendered request_deadlines/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 25ms (Views: 7.1ms | ActiveRecord: 8.6ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:38:16 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (2.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:38:17.003992"], ["updated_at", "2020-12-05 00:38:17.003992"]]
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 14ms (ActiveRecord: 4.6ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[35m (2.1ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (1.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.6ms) Rendered devise/sessions/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 13ms (Views: 9.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (1.8ms) Rendered request_deadlines/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.3ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (10.2ms)
Completed 500 Internal Server Error in 28ms (ActiveRecord: 4.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 33ms (Views: 32.2ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.5ms)
Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.6ms) Rendered tickets/new.html.erb within layouts/application (8.1ms)
Completed 200 OK in 25ms (Views: 12.4ms | ActiveRecord: 3.1ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (1.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:38:17.380200"], ["updated_at", "2020-12-05 00:38:17.380200"], ["user_id", 4]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/14 Completed 302 Found in 9ms (ActiveRecord: 2.3ms) Started GET “/tickets/14” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.2ms)
Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.8ms) Rendered tickets/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:38:17 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.4ms)
Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (9.2ms)
Completed 200 OK in 149ms (Views: 130.5ms | ActiveRecord: 3.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (7.5ms) Rendered bookings/new.html.erb within layouts/application (9.0ms)
Completed 200 OK in 55ms (Views: 22.0ms | ActiveRecord: 2.6ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:39:01.416182"], ["updated_at", "2020-12-05 00:39:01.416182"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/15 Completed 302 Found in 15ms (ActiveRecord: 1.1ms) Started GET “/bookings/15” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mBooking Load (0.7ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.6ms)
Completed 200 OK in 11ms (Views: 3.7ms | ActiveRecord: 0.7ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.0ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (8.9ms) Rendered bookings/new.html.erb within layouts/application (9.1ms)
Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (1.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (4.1ms)
Rendered bookings/new.html.erb within layouts/application (4.4ms)
Completed 200 OK in 15ms (Views: 6.5ms | ActiveRecord: 1.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:39:01.624592"], ["updated_at", "2020-12-05 00:39:01.624592"]]
[1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 15ms (Views: 12.3ms | ActiveRecord: 0.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 14ms (Views: 9.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.3ms)
Completed 200 OK in 21ms (Views: 15.4ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:39:01 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (14.4ms) Rendered request_deadlines/new.html.erb within layouts/application (16.8ms)
Completed 200 OK in 40ms (Views: 21.3ms | ActiveRecord: 4.8ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.6ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:39:02.012080"], ["updated_at", "2020-12-05 00:39:02.012080"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 8ms (ActiveRecord: 1.4ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 10ms (Views: 6.7ms | ActiveRecord: 0.4ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (4.7ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 13ms (Views: 8.1ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.9ms) Rendered request_deadlines/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (4.5ms)
Rendered request_deadlines/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 12ms (Views: 7.0ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 20ms (Views: 7.0ms | ActiveRecord: 5.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:39:02.212332"], ["updated_at", "2020-12-05 00:39:02.212332"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 8ms (ActiveRecord: 1.3ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.8ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.8ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (1.1ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (7.8ms)
Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 1.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (8.7ms) Rendered tickets/new.html.erb within layouts/application (11.4ms)
Completed 200 OK in 40ms (Views: 16.8ms | ActiveRecord: 8.4ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:39:02.433155"], ["updated_at", "2020-12-05 00:39:02.433155"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/15 Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/tickets/15” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 1.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 1.0ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.7ms) Rendered tickets/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:39:02 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (4.4ms)
Rendered tickets/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 10ms (Views: 6.3ms | ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (9.8ms)
Completed 200 OK in 181ms (Views: 157.4ms | ActiveRecord: 4.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (25.4ms) Rendered bookings/new.html.erb within layouts/application (26.6ms)
Completed 200 OK in 45ms (Views: 29.8ms | ActiveRecord: 2.9ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (2.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.6ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:40:03.494056"], ["updated_at", "2020-12-05 00:40:03.494056"], ["user_id", 4]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/16 Completed 302 Found in 21ms (ActiveRecord: 3.6ms) Started GET “/bookings/16” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.2ms)
Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (3.3ms) Rendered devise/sessions/new.html.erb within layouts/application (9.8ms)
Completed 200 OK in 22ms (Views: 18.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 14ms (Views: 11.9ms | ActiveRecord: 1.6ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (10.0ms) Rendered bookings/new.html.erb within layouts/application (10.9ms)
Completed 200 OK in 18ms (Views: 17.5ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (7.3ms)
Rendered bookings/new.html.erb within layouts/application (7.6ms)
Completed 200 OK in 14ms (Views: 8.8ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (2.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 2.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.7ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:40:03.774037"], ["updated_at", "2020-12-05 00:40:03.774037"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.2ms)
Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 2.2ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (8.0ms)
Completed 200 OK in 20ms (Views: 16.1ms | ActiveRecord: 0.7ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (9.3ms)
Completed 200 OK in 15ms (Views: 12.7ms | ActiveRecord: 0.8ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.2ms) Rendered request_deadlines/new.html.erb within layouts/application (8.1ms)
Completed 200 OK in 28ms (Views: 12.8ms | ActiveRecord: 5.1ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.0ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.1ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:40:04.121558"], ["updated_at", "2020-12-05 00:40:04.121558"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 11ms (ActiveRecord: 2.9ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 12ms (Views: 9.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.9ms) Rendered request_deadlines/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.0ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.4ms)
Completed 200 OK in 36ms (Views: 7.2ms | ActiveRecord: 9.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (3.0ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:40:04.345260"], ["updated_at", "2020-12-05 00:40:04.345260"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 11ms (ActiveRecord: 3.8ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (1.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (7.2ms)
Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 1.4ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (2.0ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 16ms (Views: 9.9ms | ActiveRecord: 2.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (12.2ms) Rendered tickets/new.html.erb within layouts/application (14.0ms)
Completed 200 OK in 46ms (Views: 16.3ms | ActiveRecord: 5.7ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:40:04.597264"], ["updated_at", "2020-12-05 00:40:04.597264"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/16 Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET “/tickets/16” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.9ms) Rendered tickets/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:40:04 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (4.0ms)
Rendered tickets/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 13ms (Views: 5.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (115.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "secretaria_ppgi_test"[0m
[1m[35m (356.0ms)[0m [1m[35mCREATE DATABASE "secretaria_ppgi_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "budgets" CASCADE[0m
[1m[35m (11.5ms)[0m [1m[35mCREATE TABLE "budgets" ("id" bigserial primary key, "value" decimal, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "diaria" CASCADE[0m
[1m[35m (6.7ms)[0m [1m[35mCREATE TABLE "diaria" ("id" bigserial primary key, "data_entrada" character varying, "data_saida" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "request_deadlines" CASCADE[0m
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "request_deadlines" ("id" bigserial primary key, "deadline" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "request_types" CASCADE[0m
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "request_types" ("id" bigserial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "requests" CASCADE[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "requests" ("id" bigserial primary key, "request_type_id" bigint, "user_id" bigint, "documents" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.0ms)[0m [1m[35mCREATE INDEX "index_requests_on_request_type_id" ON "requests" ("request_type_id")[0m
[1m[35m (3.5ms)[0m [1m[35mCREATE INDEX "index_requests_on_user_id" ON "requests" ("user_id")[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "requirements" CASCADE[0m
[1m[35m (13.1ms)[0m [1m[35mCREATE TABLE "requirements" ("id" bigserial primary key, "requirements" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (1.3ms)[0m [1m[35mDROP TABLE IF EXISTS "tickets" CASCADE[0m
[1m[35m (8.0ms)[0m [1m[35mCREATE TABLE "tickets" ("id" bigserial primary key, "data_entrada" date, "data_saida" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user_id" integer)[0m
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (30.1ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "full_name" character varying, "registration" character varying, "role" integer)[0m
[1m[35m (5.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (4.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (7.0ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_59d5c2771d"
FOREIGN KEY (“request_type_id”)
REFERENCES "request_types" ("id")
[0m
[1m[35m (7.6ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_8ead8b1e6b"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (11.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (1.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (2.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201204195343)[0m
[1m[35m (1.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20201113005520), (20201204012658), (20201113005619), (20201204190307), (20201204185313), (20191114163205), (20201204172747), (20201203212607), (20201203170755), (20191114162918);
[0m
[1m[35m (10.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-12-05 00:44:02.126150"], ["updated_at", "2020-12-05 00:44:02.126150"]]
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (1.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (10.7ms)
Completed 200 OK in 300ms (Views: 272.6ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.2ms)
Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 1.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:44:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:02 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.8ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.4ms)
Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:44:02 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m [1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (13.9ms)
Completed 200 OK in 285ms (Views: 251.9ms | ActiveRecord: 3.9ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.1ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 4ms (ActiveRecord: 2.1ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 1ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.4ms)
Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:44:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:44:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (12.5ms)
Completed 200 OK in 207ms (Views: 184.8ms | ActiveRecord: 2.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.2ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 1.1ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:44:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:44:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.4ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:44:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.5ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "admin@admin.com"], ["encrypted_password", "$2a$04$nHpKQDZ1HX9j8RmfS1.rNOCaMNdiGWZxMlY6CjZQ7yCl9.HlQFukW"], ["created_at", "2020-12-05 00:45:17.832745"], ["updated_at", "2020-12-05 00:45:17.832745"], ["full_name", "Administrador"], ["registration", "000000000"], ["role", 0]]
[1m[35m (3.7ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "secretary@secretary.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "secretary@secretary.com"], ["encrypted_password", "$2a$04$rUjrcDvGMjUoGhtx/Icmzu1IEPsPyXtT1QU1lFAeqt0yr9PYn26AO"], ["created_at", "2020-12-05 00:45:17.839753"], ["updated_at", "2020-12-05 00:45:17.839753"], ["full_name", "Secretário"], ["registration", "000000000"], ["role", 1]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "professor@professor.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "professor@professor.com"], ["encrypted_password", "$2a$04$az97l3O0NCECRr.WqpTJ5uCIbmAytYumxmnwhKNMImEBc6BmK4SZG"], ["created_at", "2020-12-05 00:45:17.843572"], ["updated_at", "2020-12-05 00:45:17.843572"], ["full_name", "Professor"], ["registration", "000000000"], ["role", 2]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "student@student.com"], ["encrypted_password", "$2a$04$A4OdWGCjwPw9IsNrGJy.Re2wRggnfiNIFmiciii5Llrr9yVbp2lRW"], ["created_at", "2020-12-05 00:45:17.847659"], ["updated_at", "2020-12-05 00:45:17.847659"], ["full_name", "Aluno"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (9.6ms)
Completed 200 OK in 171ms (Views: 160.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:45:21 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 20ms (Views: 8.4ms | ActiveRecord: 5.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:45:21 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.7ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:45:21.954227"], ["updated_at", "2020-12-05 00:45:21.954227"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 10ms (ActiveRecord: 1.8ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:45:21 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.3ms)
[1m[35m (1.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (1.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.8ms) Rendered devise/sessions/new.html.erb within layouts/application (10.3ms)
Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.7ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 14ms (Views: 9.4ms | ActiveRecord: 0.9ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "requirements" LIMIT $1[0m [["LIMIT", 1]] Rendered requirements/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (6.2ms)
Completed 500 Internal Server Error in 11ms (ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (4.2ms) Rendered devise/sessions/new.html.erb within layouts/application (9.7ms)
Completed 200 OK in 18ms (Views: 15.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:45:22.275579"], ["updated_at", "2020-12-05 00:45:22.275579"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 1.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.6ms)
Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 1.0ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (5.1ms) Rendered diaria/new.html.erb within layouts/application (9.8ms)
Completed 200 OK in 64ms (Views: 26.2ms | ActiveRecord: 6.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 12ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.3ms)
Completed 200 OK in 19ms (Views: 15.2ms | ActiveRecord: 0.4ms) Started GET “/diaria/new” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by DiariaController#new as HTML
Rendering diaria/new.html.erb within layouts/application Rendered diaria/_form.html.erb (7.6ms) Rendered diaria/new.html.erb within layouts/application (8.6ms)
Completed 200 OK in 20ms (Views: 19.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 21ms (Views: 18.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.9ms) Rendered request_deadlines/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 21ms (Views: 11.2ms | ActiveRecord: 3.8ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.0ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (1.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.6ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:45:22.767187"], ["updated_at", "2020-12-05 00:45:22.767187"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 10ms (ActiveRecord: 3.5ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.5ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.8ms) Rendered request_deadlines/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.2ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 0.9ms)
[1m[35m (2.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (2.0ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.1ms) Rendered tickets/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 20ms (Views: 7.1ms | ActiveRecord: 3.1ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.8ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:45:22.984649"], ["updated_at", "2020-12-05 00:45:22.984649"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/1 Completed 302 Found in 10ms (ActiveRecord: 2.7ms) Started GET “/tickets/1” for 127.0.0.1 at 2020-12-04 21:45:22 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.3ms)
Completed 200 OK in 8ms (Views: 3.5ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:23 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:45:23 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:45:23 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:45:23 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.2ms) Rendered tickets/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:45:23 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (3.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (4.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (6.2ms)
Rendered tickets/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 28ms (Views: 12.0ms | ActiveRecord: 8.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
[1m[35m (111.4ms)[0m [1m[35mDROP DATABASE IF EXISTS "secretaria_ppgi_test"[0m
[1m[35m (319.2ms)[0m [1m[35mCREATE DATABASE "secretaria_ppgi_test" ENCODING = 'unicode'[0m
[1m[35mSQL (0.4ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE IF EXISTS "bookings" CASCADE[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "bookings" ("id" bigserial primary key, "data_entrada" date, "data_saida" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user_id" integer)[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "budgets" CASCADE[0m
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "budgets" ("id" bigserial primary key, "value" decimal, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "request_deadlines" CASCADE[0m
[1m[35m (4.4ms)[0m [1m[35mCREATE TABLE "request_deadlines" ("id" bigserial primary key, "deadline" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "request_types" CASCADE[0m
[1m[35m (6.2ms)[0m [1m[35mCREATE TABLE "request_types" ("id" bigserial primary key, "title" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "requests" CASCADE[0m
[1m[35m (6.6ms)[0m [1m[35mCREATE TABLE "requests" ("id" bigserial primary key, "request_type_id" bigint, "user_id" bigint, "documents" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (3.3ms)[0m [1m[35mCREATE INDEX "index_requests_on_request_type_id" ON "requests" ("request_type_id")[0m
[1m[35m (4.3ms)[0m [1m[35mCREATE INDEX "index_requests_on_user_id" ON "requests" ("user_id")[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "requirements" CASCADE[0m
[1m[35m (7.2ms)[0m [1m[35mCREATE TABLE "requirements" ("id" bigserial primary key, "requirements" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "tickets" CASCADE[0m
[1m[35m (5.8ms)[0m [1m[35mCREATE TABLE "tickets" ("id" bigserial primary key, "data_entrada" date, "data_saida" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "user_id" integer)[0m
[1m[35m (0.5ms)[0m [1m[35mDROP TABLE IF EXISTS "users" CASCADE[0m
[1m[35m (20.9ms)[0m [1m[35mCREATE TABLE "users" ("id" bigserial primary key, "email" character varying DEFAULT '' NOT NULL, "encrypted_password" character varying DEFAULT '' NOT NULL, "reset_password_token" character varying, "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "full_name" character varying, "registration" character varying, "role" integer)[0m
[1m[35m (14.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
[1m[35m (4.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
[1m[35m (11.7ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_59d5c2771d"
FOREIGN KEY (“request_type_id”)
REFERENCES "request_types" ("id")
[0m
[1m[35m (4.2ms)[0m [1m[35mALTER TABLE "requests" ADD CONSTRAINT "fk_rails_8ead8b1e6b"
FOREIGN KEY (“user_id”)
REFERENCES "users" ("id")
[0m
[1m[35m (16.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (2.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20201204235248)[0m
[1m[35m (1.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20201204195343), (20201113005520), (20201113005619), (20201204190307), (20201204185313), (20201204220942), (20191114163205), (20201204172747), (20201203212607), (20201203170755), (20191114162918);
[0m
[1m[35m (13.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mActiveRecord::InternalMetadata Create (0.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-12-05 00:46:28.862713"], ["updated_at", "2020-12-05 00:46:28.862713"]]
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:46:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (9.2ms)
Completed 200 OK in 209ms (Views: 188.3ms | ActiveRecord: 5.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:46:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 4ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:46:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:46:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.5ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.5ms)
Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:46:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:46:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.4ms)
Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:46:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:46:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:46:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.2ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:46:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.5ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (4.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT pg_try_advisory_lock(5025712458016326615)[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT pg_advisory_unlock(5025712458016326615)[0m
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "admin@admin.com"], ["encrypted_password", "$2a$04$j2wJ9D615BpVVKO9fnwrsexErapDIiq98EM/YCuWOEPEhKzzq.kxO"], ["created_at", "2020-12-05 00:47:04.058795"], ["updated_at", "2020-12-05 00:47:04.058795"], ["full_name", "Administrador"], ["registration", "000000000"], ["role", 0]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "secretary@secretary.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "secretary@secretary.com"], ["encrypted_password", "$2a$04$zhLf5vrA1deXElJmHQFHReJnYHpJUxAFqI0vp6uFyRwLzvIMHzaBi"], ["created_at", "2020-12-05 00:47:04.063308"], ["updated_at", "2020-12-05 00:47:04.063308"], ["full_name", "Secretário"], ["registration", "000000000"], ["role", 1]]
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "professor@professor.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "professor@professor.com"], ["encrypted_password", "$2a$04$e1Or2QobsR5vNZ1jMm/.IuxoqwbG5BxbWoV6xdj8TcKJ4Hov/oVZO"], ["created_at", "2020-12-05 00:47:04.067571"], ["updated_at", "2020-12-05 00:47:04.067571"], ["full_name", "Professor"], ["registration", "000000000"], ["role", 2]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "student@student.com"], ["encrypted_password", "$2a$04$QmueCMxUOCaDmdh4rIBJWO.bjPYmGR1ktA7BN6ylODgIlq9xUQwLm"], ["created_at", "2020-12-05 00:47:04.073593"], ["updated_at", "2020-12-05 00:47:04.073593"], ["full_name", "Aluno"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (10.2ms)
Completed 200 OK in 261ms (Views: 231.5ms | ActiveRecord: 6.1ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:47:12 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.5ms) Rendered bookings/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 18ms (Views: 7.1ms | ActiveRecord: 3.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:47:12 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.7ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:47:12.931629"], ["updated_at", "2020-12-05 00:47:12.931629"], ["user_id", 4]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/1 Completed 302 Found in 14ms (ActiveRecord: 1.6ms) Started GET “/bookings/1” for 127.0.0.1 at 2020-12-04 21:47:12 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.7ms)
Completed 200 OK in 11ms (Views: 4.8ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (1.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:12 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:12 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:12 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 21:47:12 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.7ms) Rendered bookings/new.html.erb within layouts/application (7.7ms)
Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (4.4ms)
Rendered bookings/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 16ms (Views: 7.0ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.7ms)
[1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 00:47:13.149055"], ["updated_at", "2020-12-05 00:47:13.149055"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.1ms)
Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (5.7ms)
Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 1.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.6ms) Rendered request_deadlines/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 20ms (Views: 8.6ms | ActiveRecord: 3.1ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.8ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.7ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 00:47:13.340267"], ["updated_at", "2020-12-05 00:47:13.340267"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.8ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.9ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.9ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.7ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.2ms) Rendered request_deadlines/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.1ms)
Rendered request_deadlines/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 21ms (Views: 9.8ms | ActiveRecord: 4.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 00:47:13.518595"], ["updated_at", "2020-12-05 00:47:13.518595"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 35ms (Views: 34.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 10ms (Views: 6.1ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.9ms) Rendered tickets/new.html.erb within layouts/application (8.3ms)
Completed 200 OK in 25ms (Views: 11.0ms | ActiveRecord: 3.4ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (2.3ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 00:47:13.755409"], ["updated_at", "2020-12-05 00:47:13.755409"], ["user_id", 4]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/1 Completed 302 Found in 8ms (ActiveRecord: 3.0ms) Started GET “/tickets/1” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mTicket Load (1.1ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 1.1ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.0ms)
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.8ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.8ms) Rendered tickets/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 21:47:13 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (4.5ms)
Rendered tickets/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (23.9ms)
Completed 200 OK in 288ms (Views: 250.1ms | ActiveRecord: 15.4ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (11.1ms) Rendered bookings/new.html.erb within layouts/application (15.0ms)
Completed 200 OK in 39ms (Views: 17.7ms | ActiveRecord: 3.5ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (4.8ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 01:11:50.600598"], ["updated_at", "2020-12-05 01:11:50.600598"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/2 Completed 302 Found in 14ms (ActiveRecord: 5.5ms) Started GET “/bookings/2” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mBooking Load (0.6ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 0.6ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.6ms) Rendered bookings/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (4.5ms)
Rendered bookings/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 10ms (Views: 6.4ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (1.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.6ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 01:11:50.768158"], ["updated_at", "2020-12-05 01:11:50.768158"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (4.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (11.0ms)
Completed 200 OK in 17ms (Views: 11.8ms | ActiveRecord: 3.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (4.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 4.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (6.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.7ms)
[1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (5.9ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$6YOtJN8kP4JrxKlO52JD5.gjyJREQ4fwf72JEDdVqeHdvl8NifUTm"], ["created_at", "2020-12-05 01:11:50.882220"], ["updated_at", "2020-12-05 01:11:50.882220"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin2.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.1ms)
Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.9ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 22:11:50 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application Rendered admin/panel.html.erb within layouts/application (0.5ms)
Completed 200 OK in 10ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (6.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] [1m[36mRequest Load (0.9ms)[0m [1m[34mSELECT "requests".* FROM "requests"[0m Rendered requests/index.html.erb within layouts/application (11.8ms)
Completed 200 OK in 16ms (Views: 5.9ms | ActiveRecord: 8.4ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestType Create (1.1ms)[0m [1m[32mINSERT INTO "request_types" ("id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["id", 10], ["title", "Diaria"], ["created_at", "2020-12-05 01:11:51.039396"], ["updated_at", "2020-12-05 01:11:51.039396"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestType Load (0.4ms)[0m [1m[34mSELECT "request_types".* FROM "request_types" WHERE "request_types"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[36mRequest Create (2.6ms)[0m [1m[32mINSERT INTO "requests" ("request_type_id", "user_id", "documents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["request_type_id", 10], ["user_id", 10], ["documents", "teste"], ["created_at", "2020-12-05 01:11:51.056749"], ["updated_at", "2020-12-05 01:11:51.056749"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$eqGvy2n3B76oZ.HWSAWG9OyrdHHtu5IHp06UvddciZC.I.UHWF32."], ["created_at", "2020-12-05 01:11:51.068369"], ["updated_at", "2020-12-05 01:11:51.068369"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin2.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (5.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 5.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 2.4ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application Rendered admin/panel.html.erb within layouts/application (0.1ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] [1m[36mRequest Load (0.3ms)[0m [1m[34mSELECT "requests".* FROM "requests"[0m Rendered requests/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 11], ["email", "user@email.com"], ["encrypted_password", "$2a$04$q06Y4Jp6LtecqJWgdXcL2.1R9ZuDF9u2N9Q7MZwPPiXDUH0JAkiYS"], ["created_at", "2020-12-05 01:11:51.154605"], ["updated_at", "2020-12-05 01:11:51.154605"], ["full_name", "usuario"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user@email.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 11], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 11], ["LIMIT", 1]] Rendered requests/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (14.9ms)
Completed 200 OK in 42ms (Views: 21.7ms | ActiveRecord: 12.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 01:11:51.322421"], ["updated_at", "2020-12-05 01:11:51.322421"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 9ms (Views: 4.9ms | ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (8.3ms) Rendered tickets/new.html.erb within layouts/application (10.5ms)
Completed 200 OK in 50ms (Views: 15.4ms | ActiveRecord: 4.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 01:11:51.598031"], ["updated_at", "2020-12-05 01:11:51.598031"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/2 Completed 302 Found in 11ms (ActiveRecord: 1.0ms) Started GET “/tickets/2” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"2"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.3ms)
Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.4ms) Rendered devise/sessions/new.html.erb within layouts/application (7.4ms)
Completed 200 OK in 14ms (Views: 13.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (5.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 5.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.0ms) Rendered tickets/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 22:11:51 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (4.6ms)
Rendered tickets/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 11ms (Views: 6.6ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:10 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 198ms (Views: 174.0ms | ActiveRecord: 3.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:10 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:10 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 22:14:10 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.6ms) Rendered bookings/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 84ms (Views: 7.7ms | ActiveRecord: 4.4ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (2.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 01:14:11.065705"], ["updated_at", "2020-12-05 01:14:11.065705"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/3 Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET “/bookings/3” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.1ms) Rendered bookings/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (5.3ms)
Rendered bookings/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 13ms (Views: 9.1ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$72GE9o.f3EQs5vMWGn20F.SKjbDkYis0Ppb/TJHxPsnVcMyOlQBcm"], ["created_at", "2020-12-05 01:14:11.176090"], ["updated_at", "2020-12-05 01:14:11.176090"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin2.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application Rendered admin/panel.html.erb within layouts/application (0.5ms)
Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] [1m[36mRequest Load (0.5ms)[0m [1m[34mSELECT "requests".* FROM "requests"[0m Rendered requests/index.html.erb within layouts/application (8.5ms)
Completed 200 OK in 14ms (Views: 10.6ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestType Create (0.5ms)[0m [1m[32mINSERT INTO "request_types" ("id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["id", 10], ["title", "Diaria"], ["created_at", "2020-12-05 01:14:11.250836"], ["updated_at", "2020-12-05 01:14:11.250836"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestType Load (0.3ms)[0m [1m[34mSELECT "request_types".* FROM "request_types" WHERE "request_types"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[36mRequest Create (0.7ms)[0m [1m[32mINSERT INTO "requests" ("request_type_id", "user_id", "documents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["request_type_id", 10], ["user_id", 10], ["documents", "teste"], ["created_at", "2020-12-05 01:14:11.270691"], ["updated_at", "2020-12-05 01:14:11.270691"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$R6BITF3ZeZjQW.R0VHZRfO1kzpc.3h6mh19Jl3XVLdaO3pjDj5Vn2"], ["created_at", "2020-12-05 01:14:11.283752"], ["updated_at", "2020-12-05 01:14:11.283752"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin2.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.4ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application Rendered admin/panel.html.erb within layouts/application (0.2ms)
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.0ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] [1m[36mRequest Load (0.4ms)[0m [1m[34mSELECT "requests".* FROM "requests"[0m Rendered requests/index.html.erb within layouts/application (5.7ms)
Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 1.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 11], ["email", "user@email.com"], ["encrypted_password", "$2a$04$MdouD1UrHhfG43yK52rUgu.EJfridWMRJdMMgyrX5qQeLeavIaRW."], ["created_at", "2020-12-05 01:14:11.418335"], ["updated_at", "2020-12-05 01:14:11.418335"], ["full_name", "usuario"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user@email.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 11], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 11], ["LIMIT", 1]] Rendered requests/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (3.0ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (4.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 2.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (4.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.2ms)
Completed 200 OK in 12ms (Views: 5.6ms | ActiveRecord: 4.6ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (19.3ms) Rendered tickets/new.html.erb within layouts/application (20.4ms)
Completed 200 OK in 42ms (Views: 24.8ms | ActiveRecord: 4.3ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 01:14:11.655430"], ["updated_at", "2020-12-05 01:14:11.655430"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/3 Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET “/tickets/3” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"3"}
[1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 3], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.7ms)
Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 10ms (Views: 8.9ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (11.5ms) Rendered tickets/new.html.erb within layouts/application (12.1ms)
Completed 200 OK in 19ms (Views: 18.7ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 22:14:11 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (12.6ms)
Rendered tickets/new.html.erb within layouts/application (13.2ms)
Completed 200 OK in 29ms (Views: 19.7ms | ActiveRecord: 1.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 197ms (Views: 173.5ms | ActiveRecord: 4.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 22:14:41 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.3ms) Rendered bookings/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 74ms (Views: 7.1ms | ActiveRecord: 3.2ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 22:14:41 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 01:14:41.908977"], ["updated_at", "2020-12-05 01:14:41.908977"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/4 Completed 302 Found in 12ms (ActiveRecord: 1.6ms) Started GET “/bookings/4” for 127.0.0.1 at 2020-12-04 22:14:41 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.7ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 22:14:41 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (7.3ms) Rendered bookings/new.html.erb within layouts/application (8.0ms)
Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 22:14:41 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (4.7ms)
Rendered bookings/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 11ms (Views: 6.6ms | ActiveRecord: 0.7ms)
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 01:14:42.070191"], ["updated_at", "2020-12-05 01:14:42.070191"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (7.2ms)
Completed 200 OK in 20ms (Views: 16.8ms | ActiveRecord: 1.7ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (3.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 3.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$/xot6TK4iExSjNRvjkRZyO1cuJBsHPVlJm8WmUWFOJIBwQLyWYZUa"], ["created_at", "2020-12-05 01:14:42.176855"], ["updated_at", "2020-12-05 01:14:42.176855"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin2.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application Rendered admin/panel.html.erb within layouts/application (1.8ms)
Completed 200 OK in 15ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] [1m[36mRequest Load (0.5ms)[0m [1m[34mSELECT "requests".* FROM "requests"[0m Rendered requests/index.html.erb within layouts/application (6.2ms)
Completed 200 OK in 10ms (Views: 6.3ms | ActiveRecord: 2.6ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestType Create (0.3ms)[0m [1m[32mINSERT INTO "request_types" ("id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["id", 10], ["title", "Diaria"], ["created_at", "2020-12-05 01:14:42.292293"], ["updated_at", "2020-12-05 01:14:42.292293"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (3.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestType Load (0.5ms)[0m [1m[34mSELECT "request_types".* FROM "request_types" WHERE "request_types"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[36mRequest Create (2.7ms)[0m [1m[32mINSERT INTO "requests" ("request_type_id", "user_id", "documents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["request_type_id", 10], ["user_id", 10], ["documents", "teste"], ["created_at", "2020-12-05 01:14:42.316662"], ["updated_at", "2020-12-05 01:14:42.316662"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$D2A7nk.4AZrZBEIrOIcTEet0NfGWgUjRxYo66kDqQPq9WkNyiok6m"], ["created_at", "2020-12-05 01:14:42.335786"], ["updated_at", "2020-12-05 01:14:42.335786"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin2.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application Rendered admin/panel.html.erb within layouts/application (0.3ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] [1m[36mRequest Load (0.7ms)[0m [1m[34mSELECT "requests".* FROM "requests"[0m Rendered requests/index.html.erb within layouts/application (6.3ms)
Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 2.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.7ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 10], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 11], ["email", "user@email.com"], ["encrypted_password", "$2a$04$9ZwBypItrVlBBhj0EWMyqOcJiCuY/T/QjVLcuotF6uI0c9AKFbym."], ["created_at", "2020-12-05 01:14:42.422981"], ["updated_at", "2020-12-05 01:14:42.422981"], ["full_name", "usuario"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user@email.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 11], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.2ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 11], ["LIMIT", 1]] Rendered requests/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 19ms (Views: 16.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (4.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 4.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (9.7ms) Rendered request_deadlines/new.html.erb within layouts/application (10.9ms)
Completed 200 OK in 40ms (Views: 16.3ms | ActiveRecord: 5.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.9ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 01:14:42.683554"], ["updated_at", "2020-12-05 01:14:42.683554"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 7ms (ActiveRecord: 1.7ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.7ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.7ms)
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (1.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 10ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (7.8ms) Rendered request_deadlines/new.html.erb within layouts/application (8.1ms)
Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.6ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.5ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.6ms)
Completed 200 OK in 11ms (Views: 7.8ms | ActiveRecord: 2.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (7.1ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (11.1ms)
Completed 200 OK in 30ms (Views: 5.9ms | ActiveRecord: 13.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.8ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 01:14:42.974611"], ["updated_at", "2020-12-05 01:14:42.974611"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (2.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 8ms (ActiveRecord: 3.7ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 22:14:42 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 9ms (Views: 4.2ms | ActiveRecord: 0.6ms)
[1m[35m (1.2ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (4.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (8.7ms)
Completed 200 OK in 14ms (Views: 7.9ms | ActiveRecord: 4.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (2.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 3.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 10ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (7.2ms) Rendered tickets/new.html.erb within layouts/application (8.7ms)
Completed 200 OK in 28ms (Views: 13.2ms | ActiveRecord: 3.8ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 01:14:43.216214"], ["updated_at", "2020-12-05 01:14:43.216214"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/4 Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET “/tickets/4” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"4"}
[1m[36mTicket Load (0.6ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (2.8ms)
Completed 200 OK in 12ms (Views: 5.2ms | ActiveRecord: 0.6ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.0ms) Rendered tickets/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 22:14:43 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (4.3ms)
Rendered tickets/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 0.6ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (12.2ms)
Completed 200 OK in 202ms (Views: 167.5ms | ActiveRecord: 4.3ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.8ms) Rendered bookings/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 18ms (Views: 7.1ms | ActiveRecord: 3.1ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.6ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 01:54:40.691710"], ["updated_at", "2020-12-05 01:54:40.691710"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/5 Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Started GET “/bookings/5” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (8.7ms) Rendered bookings/new.html.erb within layouts/application (9.2ms)
Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.2ms)
Rendered bookings/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 9ms (Views: 5.0ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (1.0ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 01:54:40.894211"], ["updated_at", "2020-12-05 01:54:40.894211"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.4ms)
Completed 200 OK in 11ms (Views: 7.0ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.5ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$vEQ9a7nVkj72CPIoBZNpT.bR8d51OeZExplGKPMM1BqjnNppYuz92"], ["created_at", "2020-12-05 01:54:40.989935"], ["updated_at", "2020-12-05 01:54:40.989935"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application Rendered admin/panel.html.erb within layouts/application (0.5ms)
Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequest Load (0.6ms)[0m [1m[34mSELECT "requests".* FROM "requests"[0m Rendered requests/index.html.erb within layouts/application (12.1ms)
Completed 200 OK in 39ms (Views: 11.8ms | ActiveRecord: 3.0ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestType Create (0.4ms)[0m [1m[32mINSERT INTO "request_types" ("id", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["id", 10], ["title", "Diaria"], ["created_at", "2020-12-05 01:54:41.111231"], ["updated_at", "2020-12-05 01:54:41.111231"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestType Load (0.5ms)[0m [1m[34mSELECT "request_types".* FROM "request_types" WHERE "request_types"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
[1m[36mRequest Create (0.6ms)[0m [1m[32mINSERT INTO "requests" ("request_type_id", "user_id", "documents", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["request_type_id", 10], ["user_id", 10], ["documents", "teste"], ["created_at", "2020-12-05 01:54:41.131359"], ["updated_at", "2020-12-05 01:54:41.131359"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$Gc4PsE2t9h2fCS7l6FScJuWO8y6AxjigmtuXPvyF8ynn4vsJKltJ6"], ["created_at", "2020-12-05 01:54:41.152090"], ["updated_at", "2020-12-05 01:54:41.152090"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.6ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application Rendered admin/panel.html.erb within layouts/application (0.3ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequest Load (0.7ms)[0m [1m[34mSELECT "requests".* FROM "requests"[0m Rendered requests/index.html.erb within layouts/application (6.0ms)
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 11], ["email", "user@email.com"], ["encrypted_password", "$2a$04$HQiCz6xEiLdWgruAQq5h9eJ30yem8Ji/2HaKZqMAnukzrUXTQrwRe"], ["created_at", "2020-12-05 01:54:41.253106"], ["updated_at", "2020-12-05 01:54:41.253106"], ["full_name", "usuario"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user@email.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 11], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requests” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequestsController#index as HTML
Rendering requests/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 11], ["LIMIT", 1]] Rendered requests/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (9.3ms) Rendered request_deadlines/new.html.erb within layouts/application (12.0ms)
Completed 200 OK in 44ms (Views: 19.8ms | ActiveRecord: 4.4ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (2.1ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 01:54:41.516986"], ["updated_at", "2020-12-05 01:54:41.516986"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 12ms (ActiveRecord: 3.8ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (7.6ms)
Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 39ms (Views: 36.7ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.1ms) Rendered request_deadlines/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.5ms)
Rendered request_deadlines/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.8ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 19ms (Views: 7.8ms | ActiveRecord: 3.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 01:54:41.784872"], ["updated_at", "2020-12-05 01:54:41.784872"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.5ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.7ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 22:54:41 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.7ms) Rendered tickets/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 56ms (Views: 9.8ms | ActiveRecord: 5.1ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 22:54:42 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.7ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 01:54:42.031955"], ["updated_at", "2020-12-05 01:54:42.031955"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/5 Completed 302 Found in 8ms (ActiveRecord: 1.5ms) Started GET “/tickets/5” for 127.0.0.1 at 2020-12-04 22:54:42 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"5"}
[1m[36mTicket Load (0.7ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 5], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (2.2ms)
Completed 200 OK in 13ms (Views: 6.7ms | ActiveRecord: 0.7ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:42 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:54:42 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:54:42 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 22:54:42 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.5ms) Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 22:54:42 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.9ms)
Rendered tickets/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 11ms (Views: 5.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (7.8ms)
Completed 200 OK in 353ms (Views: 329.5ms | ActiveRecord: 7.7ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.9ms) Rendered bookings/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 24ms (Views: 7.8ms | ActiveRecord: 8.2ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (1.3ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 01:59:54.702450"], ["updated_at", "2020-12-05 01:59:54.702450"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/6 Completed 302 Found in 9ms (ActiveRecord: 2.2ms) Started GET “/bookings/6” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (2.7ms) Rendered bookings/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (4.1ms)
Rendered bookings/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 01:59:54.852096"], ["updated_at", "2020-12-05 01:59:54.852096"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$kCTDf8bppBEg2g4pAm8ZZemRfn3rDrTTKjHBRnE9ixyNsjaFMdjeq"], ["created_at", "2020-12-05 01:59:54.918595"], ["updated_at", "2020-12-05 01:59:54.918595"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 22:59:54 -0300 Processing by AdminController#panel as HTML Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (2.0ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$M2S3lTVVBOUIMxiUjxq6vOfD.fXCBKnIctNFdOEi2.vtNLKHxc2Ju"], ["created_at", "2020-12-05 01:59:55.011194"], ["updated_at", "2020-12-05 01:59:55.011194"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 9ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by AdminController#panel as HTML Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 11ms (Views: 8.2ms | ActiveRecord: 1.1ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (8.1ms) Rendered request_deadlines/new.html.erb within layouts/application (10.0ms)
Completed 200 OK in 37ms (Views: 14.2ms | ActiveRecord: 4.4ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 01:59:55.256136"], ["updated_at", "2020-12-05 01:59:55.256136"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.9ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (18.5ms) Rendered request_deadlines/new.html.erb within layouts/application (18.7ms)
Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.8ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 19ms (Views: 6.8ms | ActiveRecord: 3.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 01:59:55.450756"], ["updated_at", "2020-12-05 01:59:55.450756"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (3.9ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 10ms (ActiveRecord: 4.8ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.7ms) Rendered tickets/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 20ms (Views: 7.9ms | ActiveRecord: 3.7ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.8ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 01:59:55.613928"], ["updated_at", "2020-12-05 01:59:55.613928"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/6 Completed 302 Found in 8ms (ActiveRecord: 1.5ms) Started GET “/tickets/6” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"6"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 6], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.8ms) Rendered tickets/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 22:59:55 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.7ms)
Rendered tickets/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 8ms (Views: 4.5ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:02 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.1ms) Rendered devise/sessions/new.html.erb within layouts/application (18.7ms)
Completed 200 OK in 224ms (Views: 198.6ms | ActiveRecord: 5.5ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.8ms) Rendered bookings/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 22ms (Views: 8.8ms | ActiveRecord: 2.6ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:18:03.246474"], ["updated_at", "2020-12-05 02:18:03.246474"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/7 Completed 302 Found in 42ms (ActiveRecord: 1.1ms) Started GET “/bookings/7” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (2.6ms) Rendered bookings/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (2.5ms)
Rendered bookings/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:18:03.367279"], ["updated_at", "2020-12-05 02:18:03.367279"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.8ms)
Completed 200 OK in 7ms (Views: 4.7ms | ActiveRecord: 0.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$T83A5WnqfhlLml3mo81CzudB7HWe8Uzi.cIG2DV.LyxxZnqM5Tu42"], ["created_at", "2020-12-05 02:18:03.432405"], ["updated_at", "2020-12-05 02:18:03.432405"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$izfjcmYWFIfvkEoLimoD9uNvVmqlaFwpPuJmS1iRICQZRnPv7GDF."], ["created_at", "2020-12-05 02:18:03.501587"], ["updated_at", "2020-12-05 02:18:03.501587"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 23ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.7ms) Rendered request_deadlines/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 16ms (Views: 6.9ms | ActiveRecord: 2.6ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:18:03.641617"], ["updated_at", "2020-12-05 02:18:03.641617"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 8ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (8.6ms) Rendered request_deadlines/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (6.5ms)
Rendered request_deadlines/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 13ms (Views: 9.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 32ms (Views: 31.4ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 16ms (Views: 6.1ms | ActiveRecord: 3.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:18:03.925044"], ["updated_at", "2020-12-05 02:18:03.925044"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.7ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.8ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:03 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.7ms) Rendered tickets/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 14ms (Views: 7.0ms | ActiveRecord: 2.1ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:18:04.066035"], ["updated_at", "2020-12-05 02:18:04.066035"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/7 Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/tickets/7” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"7"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 7], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.5ms) Rendered tickets/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:18:04 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.8ms)
Rendered tickets/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:37 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (7.2ms)
Completed 200 OK in 231ms (Views: 207.7ms | ActiveRecord: 6.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.2ms) Rendered bookings/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 29ms (Views: 7.2ms | ActiveRecord: 3.2ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:18:38.230710"], ["updated_at", "2020-12-05 02:18:38.230710"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/8 Completed 302 Found in 11ms (ActiveRecord: 1.1ms) Started GET “/bookings/8” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (2.1ms) Rendered bookings/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (2.3ms)
Rendered bookings/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:18:38.347603"], ["updated_at", "2020-12-05 02:18:38.347603"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$Fy1RAPwOk3Ohq5ZVQh065ex9eHVhs4ynZKn9.29GUnjkZ1tI3bsuC"], ["created_at", "2020-12-05 02:18:38.415466"], ["updated_at", "2020-12-05 02:18:38.415466"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.5ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (5.5ms)
Completed 200 OK in 10ms (Views: 5.2ms | ActiveRecord: 2.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$is7G4bAxsY1RmkIYOKAu5uBUcJtF8QKa/45OrwYdzHuikETumU9p6"], ["created_at", "2020-12-05 02:18:38.491732"], ["updated_at", "2020-12-05 02:18:38.491732"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.8ms) Rendered request_deadlines/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 15ms (Views: 7.4ms | ActiveRecord: 2.7ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:18:38.618300"], ["updated_at", "2020-12-05 02:18:38.618300"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.5ms)
Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 2.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.8ms) Rendered request_deadlines/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (4.0ms)
Rendered request_deadlines/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 18ms (Views: 6.8ms | ActiveRecord: 4.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:18:38.839168"], ["updated_at", "2020-12-05 02:18:38.839168"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 27ms (Views: 25.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:18:38 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.9ms) Rendered tickets/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 16ms (Views: 6.0ms | ActiveRecord: 1.7ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:18:39 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:18:39.009182"], ["updated_at", "2020-12-05 02:18:39.009182"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/8 Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET “/tickets/8” for 127.0.0.1 at 2020-12-04 23:18:39 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"8"}
[1m[36mTicket Load (0.6ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 8], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 0.6ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:18:39 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (2.2ms) Rendered tickets/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:18:39 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (4.2ms)
Rendered tickets/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (1.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (13.6ms)
Completed 200 OK in 215ms (Views: 188.3ms | ActiveRecord: 10.8ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.2ms) Rendered bookings/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 15ms (Views: 7.3ms | ActiveRecord: 2.1ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:18:52.635743"], ["updated_at", "2020-12-05 02:18:52.635743"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/9 Completed 302 Found in 12ms (ActiveRecord: 1.2ms) Started GET “/bookings/9” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.8ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.7ms) Rendered bookings/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (2.6ms)
Rendered bookings/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 10ms (Views: 5.5ms | ActiveRecord: 0.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 1.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:18:52.785978"], ["updated_at", "2020-12-05 02:18:52.785978"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 1.4ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (2.9ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.9ms)
Completed 200 OK in 9ms (Views: 5.1ms | ActiveRecord: 3.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$dDfFKIk7cJP5o3At0Hhj..F7s5sY0vV35TQsQqVGQArm8hHoRVn4K"], ["created_at", "2020-12-05 02:18:52.886442"], ["updated_at", "2020-12-05 02:18:52.886442"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 26ms (Views: 25.5ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (5.6ms)
Completed 200 OK in 12ms (Views: 5.8ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$c8n764Hjn6C8tlVBUcUjueqwOSL0XKT0wku2Ce7aX7Kw/HsCoKHQu"], ["created_at", "2020-12-05 02:18:52.990795"], ["updated_at", "2020-12-05 02:18:52.990795"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.8ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.5ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (8.4ms) Rendered request_deadlines/new.html.erb within layouts/application (9.6ms)
Completed 200 OK in 30ms (Views: 15.7ms | ActiveRecord: 4.5ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.9ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:18:53.180970"], ["updated_at", "2020-12-05 02:18:53.180970"]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 11ms (ActiveRecord: 3.6ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (2.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.9ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.5ms) Rendered request_deadlines/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.6ms)
Rendered request_deadlines/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 10ms (Views: 6.1ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 20ms (Views: 6.9ms | ActiveRecord: 5.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:18:53.414336"], ["updated_at", "2020-12-05 02:18:53.414336"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 11ms (Views: 6.5ms | ActiveRecord: 0.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.4ms)
Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.6ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.4ms) Rendered tickets/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 20ms (Views: 9.2ms | ActiveRecord: 3.7ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:18:53.632210"], ["updated_at", "2020-12-05 02:18:53.632210"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/9 Completed 302 Found in 12ms (ActiveRecord: 1.8ms) Started GET “/tickets/9” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"9"}
[1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 9], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.2ms)
Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.8ms)
Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.5ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.0ms) Rendered tickets/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:18:53 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.4ms)
Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 11ms (Views: 5.2ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.5ms) Rendered devise/sessions/new.html.erb within layouts/application (15.0ms)
Completed 200 OK in 267ms (Views: 239.3ms | ActiveRecord: 5.2ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (54.0ms) Rendered bookings/new.html.erb within layouts/application (57.2ms)
Completed 200 OK in 76ms (Views: 59.6ms | ActiveRecord: 4.4ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:19:21.310749"], ["updated_at", "2020-12-05 02:19:21.310749"], ["user_id", 4]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/10 Completed 302 Found in 14ms (ActiveRecord: 2.0ms) Started GET “/bookings/10” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.1ms)
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.2ms) Rendered bookings/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.6ms)
Rendered bookings/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 12ms (Views: 6.7ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:19:21.469907"], ["updated_at", "2020-12-05 02:19:21.469907"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (2.9ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (8.5ms)
Completed 200 OK in 15ms (Views: 9.1ms | ActiveRecord: 3.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$joeM2fixVxf6scotaAgYKOw9sUFq6XkNiZ7aEUrzz2zGH2/rBRYde"], ["created_at", "2020-12-05 02:19:21.574713"], ["updated_at", "2020-12-05 02:19:21.574713"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (5.2ms)
Completed 200 OK in 11ms (Views: 5.3ms | ActiveRecord: 2.3ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (1.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$m1MRvvuEcomD2/0RdO5lZO02ZNj5M8kwcRQw5vHl1ceH.nYO7p4CK"], ["created_at", "2020-12-05 02:19:21.702359"], ["updated_at", "2020-12-05 02:19:21.702359"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.2ms)
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.8ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.2ms) Rendered request_deadlines/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 20ms (Views: 10.0ms | ActiveRecord: 3.8ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:19:21.882603"], ["updated_at", "2020-12-05 02:19:21.882603"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 13ms (Views: 4.4ms | ActiveRecord: 0.2ms)
[1m[35m (1.9ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:19:21 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (9.4ms) Rendered request_deadlines/new.html.erb within layouts/application (9.9ms)
Completed 200 OK in 18ms (Views: 16.6ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (5.4ms)
Rendered request_deadlines/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 17ms (Views: 8.5ms | ActiveRecord: 1.3ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.7ms) Rendered devise/sessions/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 15ms (Views: 10.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 17ms (Views: 6.2ms | ActiveRecord: 3.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.8ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:19:22.203732"], ["updated_at", "2020-12-05 02:19:22.203732"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 9ms (ActiveRecord: 1.6ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 12ms (Views: 5.0ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.6ms) Rendered tickets/new.html.erb within layouts/application (8.2ms)
Completed 200 OK in 20ms (Views: 11.3ms | ActiveRecord: 1.6ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.8ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:19:22.404502"], ["updated_at", "2020-12-05 02:19:22.404502"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/10 Completed 302 Found in 8ms (ActiveRecord: 1.4ms) Started GET “/tickets/10” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"10"}
[1m[36mTicket Load (0.7ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 10], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (2.2ms)
Completed 200 OK in 12ms (Views: 6.7ms | ActiveRecord: 0.7ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.9ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.6ms) Rendered tickets/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:19:22 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (8.3ms)
Rendered tickets/new.html.erb within layouts/application (8.8ms)
Completed 200 OK in 17ms (Views: 10.7ms | ActiveRecord: 0.9ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:06 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (8.6ms)
Completed 200 OK in 244ms (Views: 216.1ms | ActiveRecord: 6.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:06 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:06 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:20:06 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.9ms) Rendered bookings/new.html.erb within layouts/application (73.5ms)
Completed 200 OK in 91ms (Views: 77.0ms | ActiveRecord: 5.5ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:20:06 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.6ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:20:06.936138"], ["updated_at", "2020-12-05 02:20:06.936138"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/11 Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Started GET “/bookings/11” for 127.0.0.1 at 2020-12-04 23:20:06 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:06 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:06 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:06 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:20:06 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.7ms) Rendered bookings/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.8ms)
Rendered bookings/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:20:07.071878"], ["updated_at", "2020-12-05 02:20:07.071878"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$bTJ2MO1L7sFFB2ZaPm2TOehgSXV7bizMljvKm1sMLQE/OPQj59m2e"], ["created_at", "2020-12-05 02:20:07.145402"], ["updated_at", "2020-12-05 02:20:07.145402"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (4.6ms)
Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 2.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$jvCsgyV44dWfFbf2Ff1wyOLFtNiALoycrt81ZNIxVV/CZO7QqPcc2"], ["created_at", "2020-12-05 02:20:07.209296"], ["updated_at", "2020-12-05 02:20:07.209296"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 11], ["email", "user@email.com"], ["encrypted_password", "$2a$04$D2/7snxoNcapN.kplSF3FuKb6N61cl5voG2xsQEmjWH0KHhkX.y8m"], ["created_at", "2020-12-05 02:20:07.262854"], ["updated_at", "2020-12-05 02:20:07.262854"], ["full_name", "usuario"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user@email.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 11], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (8.5ms) Rendered request_deadlines/new.html.erb within layouts/application (9.9ms)
Completed 200 OK in 29ms (Views: 14.1ms | ActiveRecord: 2.9ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.8ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:20:07.408932"], ["updated_at", "2020-12-05 02:20:07.408932"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.5ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (5.6ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (9.3ms)
Completed 200 OK in 17ms (Views: 8.6ms | ActiveRecord: 5.6ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 11ms (Views: 10.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (8.3ms) Rendered request_deadlines/new.html.erb within layouts/application (8.6ms)
Completed 200 OK in 13ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (12.7ms)
Rendered request_deadlines/new.html.erb within layouts/application (13.1ms)
Completed 200 OK in 23ms (Views: 16.0ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 15ms (Views: 5.7ms | ActiveRecord: 3.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:20:07.694114"], ["updated_at", "2020-12-05 02:20:07.694114"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 1.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.9ms) Rendered tickets/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 18ms (Views: 8.7ms | ActiveRecord: 2.5ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:20:07.851505"], ["updated_at", "2020-12-05 02:20:07.851505"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/11 Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/tickets/11” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"11"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 11], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.9ms) Rendered tickets/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:20:07 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.9ms)
Rendered tickets/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 10ms (Views: 5.7ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:24:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (3.9ms) Rendered devise/sessions/new.html.erb within layouts/application (24.0ms)
Completed 200 OK in 260ms (Views: 225.3ms | ActiveRecord: 4.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.2ms) Rendered bookings/new.html.erb within layouts/application (7.6ms)
Completed 200 OK in 28ms (Views: 11.3ms | ActiveRecord: 2.6ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (2.1ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:25:00.286393"], ["updated_at", "2020-12-05 02:25:00.286393"], ["user_id", 4]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/12 Completed 302 Found in 68ms (ActiveRecord: 3.0ms) Started GET “/bookings/12” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (2.5ms)
Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 1.6ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.2ms) Rendered bookings/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (4.8ms)
Rendered bookings/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 12ms (Views: 6.8ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:25:00.481250"], ["updated_at", "2020-12-05 02:25:00.481250"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.9ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.7ms)
[1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (3.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$rRIJs9TbqJFsgdysIUvyAuAxjg0IV38BnT4K3OHQt6Mtslnm8.sE6"], ["created_at", "2020-12-05 02:25:00.575165"], ["updated_at", "2020-12-05 02:25:00.575165"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.4ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (7.8ms)
Completed 200 OK in 13ms (Views: 7.7ms | ActiveRecord: 2.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$E9gemgfW1./SgZuq4Yfvs.AqVq8q4J1qKAqqLYij9qSZWRRAFS0nS"], ["created_at", "2020-12-05 02:25:00.659552"], ["updated_at", "2020-12-05 02:25:00.659552"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (35.0ms)
Completed 200 OK in 38ms (Views: 36.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.3ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 11], ["email", "user@email.com"], ["encrypted_password", "$2a$04$ZM/YtynxQYI/TAVTYtuZe.v31UmneaRn00q6G25mVtsU2P7D/u2r6"], ["created_at", "2020-12-05 02:25:00.792506"], ["updated_at", "2020-12-05 02:25:00.792506"], ["full_name", "usuario"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"user@email.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "user@email.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 11], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:25:00 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (18.0ms) Rendered request_deadlines/new.html.erb within layouts/application (20.6ms)
Completed 200 OK in 62ms (Views: 29.7ms | ActiveRecord: 8.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:25:01.012368"], ["updated_at", "2020-12-05 02:25:01.012368"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (3.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (6.0ms)
Completed 200 OK in 15ms (Views: 9.1ms | ActiveRecord: 3.2ms)
[1m[35m (1.6ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (4.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 10ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.8ms) Rendered request_deadlines/new.html.erb within layouts/application (7.1ms)
Completed 200 OK in 12ms (Views: 11.0ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (40.9ms)
Rendered request_deadlines/new.html.erb within layouts/application (41.1ms)
Completed 200 OK in 47ms (Views: 42.7ms | ActiveRecord: 0.9ms)
[1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (3.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 17ms (Views: 6.0ms | ActiveRecord: 4.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:25:01.346959"], ["updated_at", "2020-12-05 02:25:01.346959"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 10ms (Views: 5.1ms | ActiveRecord: 0.4ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.8ms) Rendered tickets/new.html.erb within layouts/application (7.6ms)
Completed 200 OK in 26ms (Views: 10.0ms | ActiveRecord: 1.8ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:25:01.559026"], ["updated_at", "2020-12-05 02:25:01.559026"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/12 Completed 302 Found in 8ms (ActiveRecord: 1.5ms) Started GET “/tickets/12” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"12"}
[1m[36mTicket Load (0.9ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 12], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.9ms)
[1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (4.0ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.3ms)
Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.0ms) Rendered tickets/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:25:01 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.8ms)
Rendered tickets/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 10ms (Views: 5.6ms | ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.9ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$26bIQUSrGvI4abAllGs0LOMQ.5BUUXJHOLflvLfdlP2q6RYrmmyMy"], ["created_at", "2020-12-05 02:28:46.204114"], ["updated_at", "2020-12-05 02:28:46.204114"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (8.6ms)
Completed 200 OK in 296ms (Views: 281.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.8ms)
Completed 200 OK in 11ms (Views: 8.3ms | ActiveRecord: 1.1ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.5ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (12.4ms)
Completed 200 OK in 94ms (Views: 11.9ms | ActiveRecord: 4.8ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (2.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$4U9mFuO2gqf.tacxdjpvYurSAOweoKs043zbewuzB8LhsvxRpxyqa"], ["created_at", "2020-12-05 02:28:46.717143"], ["updated_at", "2020-12-05 02:28:46.717143"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 11ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.5ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (1.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (5.5ms)
Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 1.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.8ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 1.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (8.5ms)
Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:28:46 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (12.6ms) Rendered bookings/new.html.erb within layouts/application (17.3ms)
Completed 200 OK in 40ms (Views: 26.8ms | ActiveRecord: 2.1ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (3.8ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:28:47.026139"], ["updated_at", "2020-12-05 02:28:47.026139"], ["user_id", 4]]
[1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/13 Completed 302 Found in 25ms (ActiveRecord: 5.8ms) Started GET “/bookings/13” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (2.2ms)
Completed 200 OK in 9ms (Views: 4.2ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 1.1ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (9.2ms) Rendered bookings/new.html.erb within layouts/application (10.0ms)
Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (11.5ms)
Rendered bookings/new.html.erb within layouts/application (11.8ms)
Completed 200 OK in 18ms (Views: 13.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:28:47.344263"], ["updated_at", "2020-12-05 02:28:47.344263"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.8ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 6ms (Views: 2.9ms | ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.0ms) Rendered request_deadlines/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 21ms (Views: 9.1ms | ActiveRecord: 2.9ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:28:47.573692"], ["updated_at", "2020-12-05 02:28:47.573692"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 8ms (ActiveRecord: 1.6ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 15ms (Views: 10.5ms | ActiveRecord: 0.4ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.0ms) Rendered devise/sessions/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.2ms) Rendered request_deadlines/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (7.9ms)
Rendered request_deadlines/new.html.erb within layouts/application (8.2ms)
Completed 200 OK in 16ms (Views: 11.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.4ms)
Completed 200 OK in 15ms (Views: 9.5ms | ActiveRecord: 0.6ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (2.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (10.0ms)
Completed 200 OK in 28ms (Views: 11.9ms | ActiveRecord: 7.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:28:47.936968"], ["updated_at", "2020-12-05 02:28:47.936968"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 5ms (ActiveRecord: 1.2ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 11ms (Views: 10.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.8ms)
Completed 200 OK in 12ms (Views: 9.3ms | ActiveRecord: 1.0ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 13ms (Views: 7.8ms | ActiveRecord: 0.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.0ms)
Completed 200 OK in 33ms (Views: 30.2ms | ActiveRecord: 0.8ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.8ms) Rendered tickets/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 25ms (Views: 9.1ms | ActiveRecord: 5.1ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.9ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:28:48.202639"], ["updated_at", "2020-12-05 02:28:48.202639"], ["user_id", 4]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/13 Completed 302 Found in 13ms (ActiveRecord: 1.8ms) Started GET “/tickets/13” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"13"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 13], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.6ms) Rendered tickets/new.html.erb within layouts/application (7.2ms)
Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:28:48 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (2.5ms)
Rendered tickets/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.5ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$tsGRfYFQd014n0SvPhGu0Ohgee3BI71JZgx4u5xX/Kdsg4IFvjypq"], ["created_at", "2020-12-05 02:29:31.418188"], ["updated_at", "2020-12-05 02:29:31.418188"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (12.0ms)
Completed 200 OK in 220ms (Views: 212.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.6ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.9ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (1.1ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (15.6ms)
Completed 200 OK in 75ms (Views: 60.9ms | ActiveRecord: 9.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$NvYRt3sXwp0H3OqSrCjBYOxMGu.8rWwnj1F3.3k74IiDl9l6CiG5."], ["created_at", "2020-12-05 02:29:31.773796"], ["updated_at", "2020-12-05 02:29:31.773796"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 1.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (13.1ms) Rendered bookings/new.html.erb within layouts/application (15.3ms)
Completed 200 OK in 30ms (Views: 18.2ms | ActiveRecord: 4.5ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.7ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:29:31.976197"], ["updated_at", "2020-12-05 02:29:31.976197"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/14 Completed 302 Found in 16ms (ActiveRecord: 2.0ms) Started GET “/bookings/14” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.0ms)
Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.9ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:31 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.8ms) Rendered bookings/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 9ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (6.5ms)
Rendered bookings/new.html.erb within layouts/application (7.1ms)
Completed 200 OK in 14ms (Views: 10.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:29:32.186324"], ["updated_at", "2020-12-05 02:29:32.186324"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.3ms)
Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.7ms)
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.6ms) Rendered request_deadlines/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 22ms (Views: 7.7ms | ActiveRecord: 6.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (1.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:29:32.408209"], ["updated_at", "2020-12-05 02:29:32.408209"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 9ms (ActiveRecord: 1.9ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (7.7ms) Rendered request_deadlines/new.html.erb within layouts/application (8.2ms)
Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.7ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (6.0ms)
Rendered request_deadlines/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 12ms (Views: 8.1ms | ActiveRecord: 1.0ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 11ms (Views: 7.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 24ms (Views: 7.4ms | ActiveRecord: 5.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.9ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:29:32.693004"], ["updated_at", "2020-12-05 02:29:32.693004"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (1.0ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 9ms (ActiveRecord: 2.7ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 24ms (Views: 22.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 9ms (Views: 4.3ms | ActiveRecord: 0.8ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.8ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.9ms) Rendered tickets/new.html.erb within layouts/application (5.8ms)
Completed 200 OK in 16ms (Views: 8.4ms | ActiveRecord: 1.6ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:29:32.934367"], ["updated_at", "2020-12-05 02:29:32.934367"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/14 Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Started GET “/tickets/14” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"14"}
[1m[36mTicket Load (0.9ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 14], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 10ms (Views: 4.3ms | ActiveRecord: 0.9ms)
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:29:32 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:29:33 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.3ms) Rendered tickets/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:29:33 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (5.6ms)
Rendered tickets/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 13ms (Views: 7.4ms | ActiveRecord: 1.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$UITYn0RmPKngRlt5iHtH9eZc9SRdWPzU062syGy5ZXXth.YvFXBDG"], ["created_at", "2020-12-05 02:30:20.263258"], ["updated_at", "2020-12-05 02:30:20.263258"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (10.7ms)
Completed 200 OK in 286ms (Views: 275.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (6.9ms)
Completed 200 OK in 65ms (Views: 57.8ms | ActiveRecord: 4.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$CqEH/wnNn2Qa5.GQ492AOuawWJvLB//w4Rq9.i8hOl3Li.w4q9CpG"], ["created_at", "2020-12-05 02:30:20.680365"], ["updated_at", "2020-12-05 02:30:20.680365"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.7ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.4ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (2.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (2.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.9ms)[0m [1m[35mBEGIN[0m [1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (2.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.8ms)
Completed 200 OK in 13ms (Views: 8.1ms | ActiveRecord: 2.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (20.4ms) Rendered bookings/new.html.erb within layouts/application (22.7ms)
Completed 200 OK in 52ms (Views: 27.9ms | ActiveRecord: 4.8ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:30:20.982051"], ["updated_at", "2020-12-05 02:30:20.982051"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/15 Completed 302 Found in 14ms (ActiveRecord: 1.9ms) Started GET “/bookings/15” for 127.0.0.1 at 2020-12-04 23:30:20 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mBooking Load (1.7ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.0ms)
Completed 200 OK in 16ms (Views: 4.2ms | ActiveRecord: 1.7ms)
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (7.2ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (2.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.8ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.7ms) Rendered bookings/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (4.8ms)
Rendered bookings/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 12ms (Views: 7.0ms | ActiveRecord: 0.7ms)
[1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (4.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.9ms)
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.8ms)
[1m[36mBudget Load (2.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (5.8ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:30:21.368497"], ["updated_at", "2020-12-05 02:30:21.368497"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (10.3ms)
Completed 200 OK in 22ms (Views: 13.1ms | ActiveRecord: 1.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (9.0ms)
Completed 200 OK in 12ms (Views: 10.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.7ms)
[1m[35m (1.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.3ms) Rendered request_deadlines/new.html.erb within layouts/application (10.8ms)
Completed 200 OK in 32ms (Views: 14.6ms | ActiveRecord: 3.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:30:21.688549"], ["updated_at", "2020-12-05 02:30:21.688549"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 14ms (Views: 10.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 18ms (Views: 16.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 9ms (Views: 8.6ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.5ms) Rendered request_deadlines/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (4.8ms)
Rendered request_deadlines/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 10ms (Views: 7.1ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 12ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:30:21 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 25ms (Views: 10.7ms | ActiveRecord: 5.3ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.6ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:30:22.029185"], ["updated_at", "2020-12-05 02:30:22.029185"]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 6ms (ActiveRecord: 1.6ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (1.0ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (9.4ms)
Completed 200 OK in 14ms (Views: 11.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (3.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (8.5ms)
Completed 200 OK in 13ms (Views: 7.5ms | ActiveRecord: 3.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.1ms) Rendered tickets/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 16ms (Views: 8.3ms | ActiveRecord: 2.1ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:30:22.289297"], ["updated_at", "2020-12-05 02:30:22.289297"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/15 Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/tickets/15” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"15"}
[1m[36mTicket Load (0.5ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 15], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.5ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (8.3ms)
Completed 200 OK in 13ms (Views: 10.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.5ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (9.4ms) Rendered tickets/new.html.erb within layouts/application (9.8ms)
Completed 200 OK in 15ms (Views: 13.4ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:30:22 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.7ms)
Rendered tickets/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 12ms (Views: 8.6ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$IBz5yvGAIxwaaDSnhjUszOMp2b5qKvMX.C/s/osmGsTvf6nRLoszm"], ["created_at", "2020-12-05 02:30:38.554928"], ["updated_at", "2020-12-05 02:30:38.554928"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.1ms) Rendered devise/sessions/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 212ms (Views: 202.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (6.2ms)
Completed 200 OK in 62ms (Views: 4.2ms | ActiveRecord: 3.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$tTnbXcKNZhQMJljxXBl1WO8LOGnAJo.UqBvs2QaLcXXFVWE4MJsQe"], ["created_at", "2020-12-05 02:30:38.890341"], ["updated_at", "2020-12-05 02:30:38.890341"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.4ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 1.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:38 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.6ms) Rendered bookings/new.html.erb within layouts/application (6.7ms)
Completed 200 OK in 27ms (Views: 9.7ms | ActiveRecord: 4.2ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:30:39.103403"], ["updated_at", "2020-12-05 02:30:39.103403"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/16 Completed 302 Found in 15ms (ActiveRecord: 1.9ms) Started GET “/bookings/16” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mBooking Load (0.6ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.6ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (1.3ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.8ms) Rendered bookings/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (4.2ms)
Rendered bookings/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 1.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (2.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 2.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (1.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:30:39.326177"], ["updated_at", "2020-12-05 02:30:39.326177"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (7.6ms)
Completed 200 OK in 12ms (Views: 9.6ms | ActiveRecord: 1.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 13ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.0ms)
Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.7ms)
[1m[36mBudget Load (0.7ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 12ms (Views: 9.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (14.4ms) Rendered request_deadlines/new.html.erb within layouts/application (16.1ms)
Completed 200 OK in 39ms (Views: 23.1ms | ActiveRecord: 4.1ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (2.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:30:39.663387"], ["updated_at", "2020-12-05 02:30:39.663387"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 10ms (ActiveRecord: 3.8ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (1.6ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 11ms (Views: 6.7ms | ActiveRecord: 1.6ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.2ms) Rendered request_deadlines/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.8ms)
Rendered request_deadlines/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.5ms)
Completed 200 OK in 18ms (Views: 6.7ms | ActiveRecord: 3.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (6.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:30:39.880953"], ["updated_at", "2020-12-05 02:30:39.880953"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 12ms (ActiveRecord: 7.2ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.8ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 3.5ms | ActiveRecord: 0.8ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (7.3ms)
Completed 200 OK in 10ms (Views: 6.7ms | ActiveRecord: 2.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.8ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:39 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.5ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.1ms) Rendered tickets/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 20ms (Views: 8.5ms | ActiveRecord: 2.4ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.7ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:30:40.129007"], ["updated_at", "2020-12-05 02:30:40.129007"], ["user_id", 4]]
[1m[35m (3.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/16 Completed 302 Found in 10ms (ActiveRecord: 4.1ms) Started GET “/tickets/16” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"16"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 16], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.1ms)
Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 16ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (7.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (12.4ms)
Completed 200 OK in 16ms (Views: 6.9ms | ActiveRecord: 7.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.8ms) Rendered tickets/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:30:40 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (4.6ms)
Rendered tickets/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 10ms (Views: 6.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$X.EPPVC/cCGGB4p8fJ0YHu1.1U9a7hak7g/KC0oH//Ag9fY25oXMq"], ["created_at", "2020-12-05 02:32:48.239651"], ["updated_at", "2020-12-05 02:32:48.239651"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (10.7ms)
Completed 200 OK in 213ms (Views: 204.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (1.0ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (13.1ms)
Completed 200 OK in 22ms (Views: 11.2ms | ActiveRecord: 6.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$74JW9Uiv4WTMSQ4Se64BHuoI3wGzz/RmDyg1eVVFFviQMlXY2oToa"], ["created_at", "2020-12-05 02:32:48.591007"], ["updated_at", "2020-12-05 02:32:48.591007"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.3ms)
Completed 200 OK in 10ms (Views: 6.9ms | ActiveRecord: 1.8ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.5ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.2ms) Rendered bookings/new.html.erb within layouts/application (7.7ms)
Completed 200 OK in 20ms (Views: 10.5ms | ActiveRecord: 2.2ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (2.0ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:32:48.760890"], ["updated_at", "2020-12-05 02:32:48.760890"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/17 Completed 302 Found in 11ms (ActiveRecord: 2.8ms) Started GET “/bookings/17” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"17"}
[1m[36mBooking Load (0.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.5ms)
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (3.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.1ms) Rendered bookings/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.6ms)
Rendered bookings/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.6ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:32:48.973587"], ["updated_at", "2020-12-05 02:32:48.973587"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:32:48 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (1.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (9.3ms)
Completed 200 OK in 14ms (Views: 9.7ms | ActiveRecord: 3.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.5ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.9ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 2.6ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (7.6ms) Rendered request_deadlines/new.html.erb within layouts/application (9.5ms)
Completed 200 OK in 26ms (Views: 14.8ms | ActiveRecord: 3.6ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:32:49.217613"], ["updated_at", "2020-12-05 02:32:49.217613"]]
[1m[35m (1.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 11ms (ActiveRecord: 3.1ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 14ms (Views: 10.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (8.2ms)
Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.8ms) Rendered request_deadlines/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (5.1ms)
Rendered request_deadlines/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 12ms (Views: 7.9ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 16ms (Views: 6.2ms | ActiveRecord: 3.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:32:49.544818"], ["updated_at", "2020-12-05 02:32:49.544818"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (2.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 2.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.5ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.8ms)
Completed 200 OK in 9ms (Views: 6.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (7.4ms) Rendered tickets/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 29ms (Views: 14.9ms | ActiveRecord: 2.2ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:32:49.770319"], ["updated_at", "2020-12-05 02:32:49.770319"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/17 Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET “/tickets/17” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"17"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 17], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.5ms)
Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.7ms) Rendered tickets/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:32:49 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.6ms)
Rendered tickets/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 10ms (Views: 5.6ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$iOJuRcxdxPnP6cOYzDMPD.u5fUtPDIQMVcTIlwD.hFPYOk7jjAO/."], ["created_at", "2020-12-05 02:33:16.499336"], ["updated_at", "2020-12-05 02:33:16.499336"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (3.0ms) Rendered devise/sessions/new.html.erb within layouts/application (16.8ms)
Completed 200 OK in 191ms (Views: 182.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.6ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.7ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.9ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (62.7ms)
Completed 200 OK in 70ms (Views: 56.8ms | ActiveRecord: 8.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (1.2ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$WrfomRwBCZzCMrYD9hjvdOe/IjbOHm4jOVSfNxX.hirqIMTpnaKsO"], ["created_at", "2020-12-05 02:33:16.816883"], ["updated_at", "2020-12-05 02:33:16.816883"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (2.0ms)
Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.3ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:33:16 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (10.4ms) Rendered bookings/new.html.erb within layouts/application (14.6ms)
Completed 200 OK in 27ms (Views: 17.2ms | ActiveRecord: 2.1ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:33:17.010117"], ["updated_at", "2020-12-05 02:33:17.010117"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/18 Completed 302 Found in 9ms (ActiveRecord: 1.2ms) Started GET “/bookings/18” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.7ms)
Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (7.3ms) Rendered bookings/new.html.erb within layouts/application (8.1ms)
Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (4.2ms)
Rendered bookings/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 13ms (Views: 7.9ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:33:17.222156"], ["updated_at", "2020-12-05 02:33:17.222156"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.7ms)
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.5ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.9ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.3ms) Rendered request_deadlines/new.html.erb within layouts/application (5.4ms)
Completed 200 OK in 25ms (Views: 7.9ms | ActiveRecord: 6.9ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.9ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:33:17.427578"], ["updated_at", "2020-12-05 02:33:17.427578"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 7ms (ActiveRecord: 1.6ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.4ms)
Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (7.8ms) Rendered request_deadlines/new.html.erb within layouts/application (8.3ms)
Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (7.4ms)
Rendered request_deadlines/new.html.erb within layouts/application (7.7ms)
Completed 200 OK in 14ms (Views: 10.5ms | ActiveRecord: 0.6ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (4.2ms)[0m [1m[35mBEGIN[0m [1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (2.0ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 20ms (Views: 7.0ms | ActiveRecord: 5.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:33:17.777540"], ["updated_at", "2020-12-05 02:33:17.777540"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 9ms (ActiveRecord: 1.7ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.8ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (8.6ms)
Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 1.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.7ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.6ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.9ms) Rendered tickets/new.html.erb within layouts/application (7.2ms)
Completed 200 OK in 25ms (Views: 12.1ms | ActiveRecord: 1.4ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:33:17 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:33:17.999913"], ["updated_at", "2020-12-05 02:33:17.999913"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/18 Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/tickets/18” for 127.0.0.1 at 2020-12-04 23:33:18 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"18"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 18], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:18 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:18 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:18 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:33:18 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.3ms) Rendered tickets/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:33:18 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.4ms)
Rendered tickets/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$RgTIsLNngPpCgGCJOPmNQO0DeRkKPflmaoyGiiguWcxkmo3Zy.Fq6"], ["created_at", "2020-12-05 02:33:33.628545"], ["updated_at", "2020-12-05 02:33:33.628545"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (17.2ms)
Completed 200 OK in 180ms (Views: 172.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:33 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:33:33 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (3.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (10.5ms)
Completed 200 OK in 16ms (Views: 5.2ms | ActiveRecord: 7.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$/.EeAhgZOaznuo03TzzphOhJ8lqh6ulmNxNU6i0Av3P1N5bAbcinS"], ["created_at", "2020-12-05 02:33:33.880353"], ["updated_at", "2020-12-05 02:33:33.880353"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:33 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.8ms)
Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.8ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:33:33 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.3ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:33:33 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:33 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.9ms) Rendered bookings/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 24ms (Views: 10.3ms | ActiveRecord: 2.2ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.6ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:33:34.158992"], ["updated_at", "2020-12-05 02:33:34.158992"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/19 Completed 302 Found in 8ms (ActiveRecord: 1.4ms) Started GET “/bookings/19” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"19"}
[1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.0ms)
Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.3ms) Rendered bookings/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.8ms)
Rendered bookings/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 11ms (Views: 5.7ms | ActiveRecord: 0.6ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.5ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:33:34.362681"], ["updated_at", "2020-12-05 02:33:34.362681"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 1.2ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.3ms)
Completed 200 OK in 12ms (Views: 8.9ms | ActiveRecord: 1.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (3.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.5ms)
Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 3.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (3.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.2ms)
Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 3.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.3ms) Rendered request_deadlines/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 19ms (Views: 7.5ms | ActiveRecord: 4.3ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:33:34.608772"], ["updated_at", "2020-12-05 02:33:34.608772"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.3ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 9ms (Views: 7.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (8.3ms) Rendered request_deadlines/new.html.erb within layouts/application (8.6ms)
Completed 200 OK in 12ms (Views: 11.1ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (7.7ms)
Rendered request_deadlines/new.html.erb within layouts/application (8.0ms)
Completed 200 OK in 15ms (Views: 10.4ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 22ms (Views: 5.8ms | ActiveRecord: 7.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.7ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:33:34.938407"], ["updated_at", "2020-12-05 02:33:34.938407"]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (1.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 8ms (ActiveRecord: 3.5ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.7ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:34 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.7ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.7ms) Rendered tickets/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 18ms (Views: 7.8ms | ActiveRecord: 2.6ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.6ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:33:35.154600"], ["updated_at", "2020-12-05 02:33:35.154600"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/19 Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET “/tickets/19” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"19"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 19], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 27ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.6ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.5ms) Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:33:35 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.2ms)
Rendered tickets/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$ZzAQ2PUi067F0Q8u6Dnuf.gxcnk7I3mnKwXVdCmzgwdrnr1e86t1S"], ["created_at", "2020-12-05 02:34:25.360203"], ["updated_at", "2020-12-05 02:34:25.360203"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (16.8ms)
Completed 200 OK in 221ms (Views: 216.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (63.4ms)
Completed 200 OK in 74ms (Views: 58.4ms | ActiveRecord: 8.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (1.1ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$i2/c.ktJ.hDL4BbAn/QcBuD3Cczzgfama1ixf5k8MgqWqLaQqUa/K"], ["created_at", "2020-12-05 02:34:25.721886"], ["updated_at", "2020-12-05 02:34:25.721886"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.4ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.5ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 11ms (Views: 6.9ms | ActiveRecord: 0.5ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 1.1ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.6ms) Rendered bookings/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 20ms (Views: 9.7ms | ActiveRecord: 2.3ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.9ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:34:25.969664"], ["updated_at", "2020-12-05 02:34:25.969664"], ["user_id", 4]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/20 Completed 302 Found in 18ms (ActiveRecord: 2.4ms) Started GET “/bookings/20” for 127.0.0.1 at 2020-12-04 23:34:25 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"20"}
[1m[36mBooking Load (0.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.0ms)
Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.5ms)
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (4.7ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (7.4ms) Rendered bookings/new.html.erb within layouts/application (7.9ms)
Completed 200 OK in 17ms (Views: 15.8ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.9ms)
Rendered bookings/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (9.1ms)
Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (1.1ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:34:26.232211"], ["updated_at", "2020-12-05 02:34:26.232211"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.4ms)
Completed 200 OK in 14ms (Views: 10.4ms | ActiveRecord: 1.1ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.5ms)
Completed 200 OK in 19ms (Views: 17.5ms | ActiveRecord: 0.6ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 9ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 10ms (Views: 7.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.6ms)
Completed 200 OK in 19ms (Views: 16.9ms | ActiveRecord: 1.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.8ms) Rendered request_deadlines/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 28ms (Views: 9.9ms | ActiveRecord: 3.9ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (2.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:34:26.577004"], ["updated_at", "2020-12-05 02:34:26.577004"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 7ms (ActiveRecord: 3.2ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.3ms)
[1m[35m (5.2ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (3.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 15ms (ActiveRecord: 3.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.1ms) Rendered request_deadlines/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.6ms)
Rendered request_deadlines/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 23ms (Views: 9.5ms | ActiveRecord: 5.0ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (1.2ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:34:26.823705"], ["updated_at", "2020-12-05 02:34:26.823705"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 6ms (ActiveRecord: 2.4ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.4ms)
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (1.0ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 14ms (Views: 9.8ms | ActiveRecord: 2.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (4.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.1ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:34:26 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (9.4ms) Rendered tickets/new.html.erb within layouts/application (12.6ms)
Completed 200 OK in 27ms (Views: 15.7ms | ActiveRecord: 2.9ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:34:27 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.8ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:34:27.047068"], ["updated_at", "2020-12-05 02:34:27.047068"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/20 Completed 302 Found in 8ms (ActiveRecord: 1.4ms) Started GET “/tickets/20” for 127.0.0.1 at 2020-12-04 23:34:27 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"20"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 20], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.6ms)
Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:27 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:34:27 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:27 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:34:27 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:34:27 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.5ms) Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:34:27 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.8ms)
Rendered tickets/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 13ms (Views: 5.7ms | ActiveRecord: 1.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$.lVylpp6uyy8XzmJPjmM3uzEe/5.GFhM2KL4NU/PTraoBrApYNIDy"], ["created_at", "2020-12-05 02:36:08.176730"], ["updated_at", "2020-12-05 02:36:08.176730"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (13.4ms)
Completed 200 OK in 238ms (Views: 227.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (3.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (2.7ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (68.7ms)
Completed 200 OK in 82ms (Views: 63.3ms | ActiveRecord: 9.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$/mX8LP.DzT8SVKSOO17MY.mlUscTue9tC7GdmBGUmeBLU2eFxJRm2"], ["created_at", "2020-12-05 02:36:08.579940"], ["updated_at", "2020-12-05 02:36:08.579940"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.9ms)
Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.6ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered admin/panel.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.5ms)
Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.5ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.2ms) Rendered bookings/new.html.erb within layouts/application (8.9ms)
Completed 200 OK in 21ms (Views: 11.1ms | ActiveRecord: 2.4ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:36:08.795772"], ["updated_at", "2020-12-05 02:36:08.795772"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/21 Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET “/bookings/21” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"21"}
[1m[36mBooking Load (1.1ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.1ms)
Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 1.1ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (1.0ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (4.4ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.9ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.8ms) Rendered bookings/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.3ms)
Rendered bookings/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:08 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.8ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:36:08.991156"], ["updated_at", "2020-12-05 02:36:08.991156"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (1.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (5.2ms)
Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 2.0ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.7ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (5.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (6.9ms)
Completed 200 OK in 11ms (Views: 5.3ms | ActiveRecord: 5.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (8.7ms)
Completed 200 OK in 16ms (Views: 13.6ms | ActiveRecord: 0.7ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (9.5ms) Rendered request_deadlines/new.html.erb within layouts/application (13.8ms)
Completed 200 OK in 42ms (Views: 24.1ms | ActiveRecord: 3.9ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.2ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:36:09.278713"], ["updated_at", "2020-12-05 02:36:09.278713"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 12ms (ActiveRecord: 2.3ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (7.9ms)
Completed 200 OK in 14ms (Views: 10.1ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.2ms) Rendered request_deadlines/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (5.8ms)
Rendered request_deadlines/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 12ms (Views: 8.5ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (1.0ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (6.4ms)
Completed 200 OK in 21ms (Views: 7.5ms | ActiveRecord: 5.9ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.8ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:36:09.553228"], ["updated_at", "2020-12-05 02:36:09.553228"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 5ms (ActiveRecord: 1.7ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 10ms (Views: 4.5ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.7ms)
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.3ms) Rendered tickets/new.html.erb within layouts/application (5.5ms)
Completed 200 OK in 22ms (Views: 7.8ms | ActiveRecord: 6.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (5.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:36:09.739208"], ["updated_at", "2020-12-05 02:36:09.739208"], ["user_id", 4]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/21 Completed 302 Found in 12ms (ActiveRecord: 6.4ms) Started GET “/tickets/21” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"21"}
[1m[36mTicket Load (0.6ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 21], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 0.6ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.8ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.8ms) Rendered tickets/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:36:09 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.9ms)
Rendered tickets/new.html.erb within layouts/application (4.4ms)
Completed 200 OK in 10ms (Views: 6.3ms | ActiveRecord: 0.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (5.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$3CcFbusdnZmOt.n7ckjrpul9eHFIslL5187eSCxFHsX3wI3REKUsG"], ["created_at", "2020-12-05 02:37:45.899460"], ["updated_at", "2020-12-05 02:37:45.899460"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:45 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (14.8ms)
Completed 200 OK in 292ms (Views: 281.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 14ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.9ms)
Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.4ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.5ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (52.3ms)
Completed 200 OK in 66ms (Views: 50.8ms | ActiveRecord: 4.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.8ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$AMXEow9zqV88HDyXnD7JMen1.FPQF6Kh6D/.p8vSttaxhWXxPzENy"], ["created_at", "2020-12-05 02:37:46.403948"], ["updated_at", "2020-12-05 02:37:46.403948"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.4ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (3.0ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 9ms (Views: 6.7ms | ActiveRecord: 1.1ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered admin/panel.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (12.5ms) Rendered bookings/new.html.erb within layouts/application (13.3ms)
Completed 200 OK in 16ms (Views: 15.0ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (1.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:37:46.595030"], ["updated_at", "2020-12-05 02:37:46.595030"], ["user_id", 4]]
[1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/22 Completed 302 Found in 8ms (ActiveRecord: 3.1ms) Started GET “/bookings/22” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"22"}
[1m[36mBooking Load (0.9ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.9ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.4ms) Rendered bookings/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (2.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.7ms)
Rendered bookings/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 12ms (Views: 5.4ms | ActiveRecord: 3.1ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (2.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 2.0ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.2ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:37:46.778241"], ["updated_at", "2020-12-05 02:37:46.778241"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 1.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (4.9ms)
Completed 200 OK in 11ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.6ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.8ms)
Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (9.7ms)
Completed 200 OK in 16ms (Views: 14.1ms | ActiveRecord: 0.9ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.3ms) Rendered request_deadlines/new.html.erb within layouts/application (8.0ms)
Completed 200 OK in 27ms (Views: 11.8ms | ActiveRecord: 2.7ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:37:46 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.9ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:37:47.001795"], ["updated_at", "2020-12-05 02:37:47.001795"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 7ms (ActiveRecord: 1.5ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.5ms)
Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (6.8ms) Rendered request_deadlines/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (11.3ms)
Rendered request_deadlines/new.html.erb within layouts/application (11.6ms)
Completed 200 OK in 19ms (Views: 15.4ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (2.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 25ms (Views: 8.5ms | ActiveRecord: 4.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.8ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:37:47.281253"], ["updated_at", "2020-12-05 02:37:47.281253"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 5ms (ActiveRecord: 1.4ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.3ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.9ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.6ms) Rendered tickets/new.html.erb within layouts/application (7.0ms)
Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (1.3ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:37:47.493529"], ["updated_at", "2020-12-05 02:37:47.493529"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/22 Completed 302 Found in 12ms (ActiveRecord: 2.4ms) Started GET “/tickets/22” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"22"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 22], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.6ms)
Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (2.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 2.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 10ms (Views: 8.4ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.7ms) Rendered tickets/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:37:47 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.7ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.5ms)
Rendered tickets/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 10ms (Views: 5.4ms | ActiveRecord: 1.1ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$sEpJIouUPV7rRNxu2PU9HuxllyxR8qTBqw4UW990VkhTUlw.OmQfW"], ["created_at", "2020-12-05 02:41:40.130145"], ["updated_at", "2020-12-05 02:41:40.130145"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.8ms) Rendered devise/sessions/new.html.erb within layouts/application (17.7ms)
Completed 200 OK in 203ms (Views: 195.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (1.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (1.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (18.6ms)
Completed 200 OK in 27ms (Views: 12.4ms | ActiveRecord: 8.5ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.9ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$EPqsFSKV1BZW4x9XoLnKbuv57gbnR5wWzVKx2/pWKL2wPqdnliZhu"], ["created_at", "2020-12-05 02:41:40.487616"], ["updated_at", "2020-12-05 02:41:40.487616"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered admin/panel.html.erb within layouts/application (1.8ms)
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.3ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (10.9ms) Rendered bookings/new.html.erb within layouts/application (13.4ms)
Completed 200 OK in 20ms (Views: 17.3ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:41:40.770407"], ["updated_at", "2020-12-05 02:41:40.770407"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/23 Completed 302 Found in 10ms (ActiveRecord: 1.2ms) Started GET “/bookings/23” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"23"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.0ms)
Completed 200 OK in 7ms (Views: 3.1ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.9ms) Rendered bookings/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (7.1ms)
Rendered bookings/new.html.erb within layouts/application (7.8ms)
Completed 200 OK in 18ms (Views: 12.2ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.5ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (2.3ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:41:40.995460"], ["updated_at", "2020-12-05 02:41:40.995460"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.9ms)
[1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 1.0ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (2.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.8ms)
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.8ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (14.2ms) Rendered request_deadlines/new.html.erb within layouts/application (17.1ms)
Completed 200 OK in 34ms (Views: 24.5ms | ActiveRecord: 2.9ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.6ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.7ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:41:41.236862"], ["updated_at", "2020-12-05 02:41:41.236862"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 9ms (ActiveRecord: 1.7ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.0ms)
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (11.2ms) Rendered request_deadlines/new.html.erb within layouts/application (11.5ms)
Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (7.2ms)
Rendered request_deadlines/new.html.erb within layouts/application (7.5ms)
Completed 200 OK in 14ms (Views: 10.0ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (4.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 4.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.7ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (9.6ms)
Completed 200 OK in 32ms (Views: 11.8ms | ActiveRecord: 11.0ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:41:41.561409"], ["updated_at", "2020-12-05 02:41:41.561409"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.4ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.7ms) Rendered devise/sessions/new.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.9ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 1.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.0ms) Rendered tickets/new.html.erb within layouts/application (8.0ms)
Completed 200 OK in 18ms (Views: 14.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (2.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:41:41.758631"], ["updated_at", "2020-12-05 02:41:41.758631"], ["user_id", 4]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/23 Completed 302 Found in 15ms (ActiveRecord: 3.8ms) Started GET “/tickets/23” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"23"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 23], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 29ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.0ms) Rendered tickets/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:41:41 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.1ms)
Rendered tickets/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 8ms (Views: 4.9ms | ActiveRecord: 0.4ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$KK6M9pm4aFFWAaIUxLgSkuBEHWSHE9a/TxUMv6QXxARNqEECkbHla"], ["created_at", "2020-12-05 02:46:52.485047"], ["updated_at", "2020-12-05 02:46:52.485047"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (17.8ms)
Completed 200 OK in 290ms (Views: 280.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:52 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (8.1ms)
Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.4ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:46:52 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.5ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (8.5ms)
Completed 200 OK in 16ms (Views: 6.5ms | ActiveRecord: 4.4ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (4.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.7ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$6tCX.f4QCzhZSUZPw.mQC.6WzD/bv2eWowdweCy010w57GKOCcmXS"], ["created_at", "2020-12-05 02:46:52.980129"], ["updated_at", "2020-12-05 02:46:52.980129"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:52 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:52 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered admin/panel.html.erb within layouts/application (1.3ms)
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.1ms) Rendered bookings/new.html.erb within layouts/application (6.5ms)
Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.7ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:46:53.178673"], ["updated_at", "2020-12-05 02:46:53.178673"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/24 Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET “/bookings/24” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"24"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.4ms) Rendered bookings/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.8ms)
Rendered bookings/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (2.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (3.9ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:46:53.327602"], ["updated_at", "2020-12-05 02:46:53.327602"]]
[1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 1.0ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.9ms) Rendered request_deadlines/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 17ms (Views: 7.1ms | ActiveRecord: 3.8ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:46:53.504564"], ["updated_at", "2020-12-05 02:46:53.504564"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 1.3ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.2ms) Rendered request_deadlines/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.4ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.6ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 18ms (Views: 6.5ms | ActiveRecord: 3.8ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.5ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:46:53.713787"], ["updated_at", "2020-12-05 02:46:53.713787"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.6ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 6ms (ActiveRecord: 1.9ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 9ms (Views: 7.4ms | ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (7.0ms) Rendered tickets/new.html.erb within layouts/application (8.7ms)
Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.5ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:46:53.919694"], ["updated_at", "2020-12-05 02:46:53.919694"], ["user_id", 4]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/24 Completed 302 Found in 8ms (ActiveRecord: 2.1ms) Started GET “/tickets/24” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"24"}
[1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 24], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 9ms (Views: 3.7ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:46:53 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.3ms) Rendered tickets/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:46:54 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (5.8ms)
Rendered tickets/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 14ms (Views: 9.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.8ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$DhQZ0wpyH.DEEOv9O4xofuvOomHbXF.uuWNBZgkxugH65YMCD0/DG"], ["created_at", "2020-12-05 02:47:28.574121"], ["updated_at", "2020-12-05 02:47:28.574121"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.7ms) Rendered devise/sessions/new.html.erb within layouts/application (10.8ms)
Completed 200 OK in 212ms (Views: 202.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:47:28 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (57.8ms)
Completed 200 OK in 64ms (Views: 55.9ms | ActiveRecord: 4.3ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$g0c1Oikl31l3IUm8tbJsFeVR30n9LLjGgHY64PE/9WQE14Z2xZamy"], ["created_at", "2020-12-05 02:47:28.942914"], ["updated_at", "2020-12-05 02:47:28.942914"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:28 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:28 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.6ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:47:28 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:28 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 1.0ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.6ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered admin/panel.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.8ms) Rendered bookings/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (1.1ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:47:29.140494"], ["updated_at", "2020-12-05 02:47:29.140494"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/25 Completed 302 Found in 6ms (ActiveRecord: 1.7ms) Started GET “/bookings/25” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"25"}
[1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.3ms) Rendered bookings/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.6ms)
Rendered bookings/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (4.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:47:29.301718"], ["updated_at", "2020-12-05 02:47:29.301718"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (3.7ms)
Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (6.9ms)
Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.5ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (2.0ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.1ms)
Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 2.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (5.8ms) Rendered request_deadlines/new.html.erb within layouts/application (7.2ms)
Completed 200 OK in 20ms (Views: 10.0ms | ActiveRecord: 4.1ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:47:29.476942"], ["updated_at", "2020-12-05 02:47:29.476942"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 31ms (ActiveRecord: 1.4ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (3.9ms) Rendered request_deadlines/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.8ms)
Rendered request_deadlines/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 16ms (Views: 5.7ms | ActiveRecord: 4.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.6ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:47:29.676274"], ["updated_at", "2020-12-05 02:47:29.676274"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 5ms (ActiveRecord: 1.3ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.4ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (2.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.8ms)
Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 2.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 12ms (Views: 7.2ms | ActiveRecord: 0.9ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (9.6ms) Rendered tickets/new.html.erb within layouts/application (11.4ms)
Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:47:29.886972"], ["updated_at", "2020-12-05 02:47:29.886972"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/25 Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET “/tickets/25” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"25"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 25], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:47:29 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (8.3ms) Rendered tickets/new.html.erb within layouts/application (8.7ms)
Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:47:30 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (8.1ms)
Rendered tickets/new.html.erb within layouts/application (8.4ms)
Completed 200 OK in 17ms (Views: 12.3ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$RNrftNk9x.bswSTGiI7TA.6tlTtQtSre4fdLIu1yor9mdZurv3wpW"], ["created_at", "2020-12-05 02:48:19.663621"], ["updated_at", "2020-12-05 02:48:19.663621"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:19 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.3ms) Rendered devise/sessions/new.html.erb within layouts/application (9.7ms)
Completed 200 OK in 216ms (Views: 208.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:19 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:19 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:48:19 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (49.6ms)
Completed 200 OK in 55ms (Views: 48.2ms | ActiveRecord: 3.8ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$izrMcC9VybhaetQOQarCH.UhOU1zYzCM6orHxarL1ozdOlcoN8iNO"], ["created_at", "2020-12-05 02:48:20.010672"], ["updated_at", "2020-12-05 02:48:20.010672"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.5ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered admin/panel.html.erb within layouts/application (1.0ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.2ms)
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 3ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.4ms) Rendered bookings/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:48:20.169276"], ["updated_at", "2020-12-05 02:48:20.169276"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/26 Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET “/bookings/26” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"26"}
[1m[36mBooking Load (1.6ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.7ms)
Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 1.6ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.0ms) Rendered bookings/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (2.3ms)
Rendered bookings/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 7ms (Views: 3.6ms | ActiveRecord: 0.4ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (3.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.7ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:48:20.329782"], ["updated_at", "2020-12-05 02:48:20.329782"]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (5.3ms)
Completed 200 OK in 10ms (Views: 6.5ms | ActiveRecord: 1.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (6.6ms)
Completed 200 OK in 21ms (Views: 18.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (12.2ms) Rendered request_deadlines/new.html.erb within layouts/application (13.6ms)
Completed 200 OK in 36ms (Views: 19.4ms | ActiveRecord: 3.1ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (1.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.3ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:48:20.571244"], ["updated_at", "2020-12-05 02:48:20.571244"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 8ms (ActiveRecord: 2.3ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (4.6ms)
Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (8.1ms) Rendered request_deadlines/new.html.erb within layouts/application (8.5ms)
Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (2.9ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 17ms (Views: 5.1ms | ActiveRecord: 4.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:48:20.815334"], ["updated_at", "2020-12-05 02:48:20.815334"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.5ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.8ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.0ms) Rendered tickets/new.html.erb within layouts/application (6.3ms)
Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:48:20.978211"], ["updated_at", "2020-12-05 02:48:20.978211"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/26 Completed 302 Found in 6ms (ActiveRecord: 1.0ms) Started GET “/tickets/26” for 127.0.0.1 at 2020-12-04 23:48:20 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"26"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 26], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (0.9ms)
Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (3.1ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:21 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:48:21 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:48:21 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:48:21 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (5.0ms) Rendered tickets/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:48:21 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.6ms)
Rendered tickets/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.7ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$jRuGfzqAeGlcjEefGCC/juyoXD5D6Bq7/UpQSUT5Ig8S6NqjAe9eS"], ["created_at", "2020-12-05 02:49:40.500070"], ["updated_at", "2020-12-05 02:49:40.500070"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.9ms) Rendered devise/sessions/new.html.erb within layouts/application (15.2ms)
Completed 200 OK in 257ms (Views: 248.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (59.0ms)
Completed 200 OK in 65ms (Views: 57.5ms | ActiveRecord: 4.1ms)
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$FN2DXdi64wMMZC1fpyce9OkxeFbmArHtIDETNqRswYh5X8yNCdCCC"], ["created_at", "2020-12-05 02:49:40.910899"], ["updated_at", "2020-12-05 02:49:40.910899"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.5ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (4.4ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 1.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.3ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.3ms)
Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:40 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered admin/panel.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.9ms)
Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.5ms) Rendered bookings/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:49:41.099608"], ["updated_at", "2020-12-05 02:49:41.099608"], ["user_id", 4]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/27 Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET “/bookings/27” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"27"}
[1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.1ms)
Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 0.4ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.3ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (2.8ms) Rendered bookings/new.html.erb within layouts/application (3.4ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.8ms)
Rendered bookings/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 10ms (Views: 5.7ms | ActiveRecord: 0.8ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:49:41.252729"], ["updated_at", "2020-12-05 02:49:41.252729"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (5.2ms)
Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 1.5ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.4ms) Rendered request_deadlines/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 18ms (Views: 8.7ms | ActiveRecord: 2.9ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:49:41.421769"], ["updated_at", "2020-12-05 02:49:41.421769"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (29.6ms)
Completed 200 OK in 33ms (Views: 31.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.3ms)
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.2ms) Rendered request_deadlines/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.4ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 1.9ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.8ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 22ms (Views: 7.4ms | ActiveRecord: 6.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (2.4ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:49:41.635011"], ["updated_at", "2020-12-05 02:49:41.635011"]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 6ms (ActiveRecord: 3.1ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.3ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 10ms (Views: 5.0ms | ActiveRecord: 1.3ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (6.2ms)
Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 8ms (Views: 5.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (7.3ms) Rendered tickets/new.html.erb within layouts/application (9.4ms)
Completed 200 OK in 17ms (Views: 14.6ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.7ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:49:41.865741"], ["updated_at", "2020-12-05 02:49:41.865741"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/27 Completed 302 Found in 8ms (ActiveRecord: 1.1ms) Started GET “/tickets/27” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"27"}
[1m[36mTicket Load (0.5ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 27], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.9ms)
Completed 200 OK in 10ms (Views: 6.1ms | ActiveRecord: 0.5ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (1.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.9ms) Rendered tickets/new.html.erb within layouts/application (7.6ms)
Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:49:41 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (6.7ms)
Rendered tickets/new.html.erb within layouts/application (7.1ms)
Completed 200 OK in 15ms (Views: 10.4ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$WzJoq6Mj4Qkb2jpUG2UP7u/lqxbillIO9msFojo97eo8p9B8Wh6Ym"], ["created_at", "2020-12-05 02:55:46.961187"], ["updated_at", "2020-12-05 02:55:46.961187"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:46 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (2.4ms) Rendered devise/sessions/new.html.erb within layouts/application (14.7ms)
Completed 200 OK in 228ms (Views: 218.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.4ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.3ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (8.5ms)
Completed 200 OK in 19ms (Views: 8.4ms | ActiveRecord: 3.2ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.6ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$aXXw7PEAJ256Q.0Krva0AelBCLxFzhml3lR3ljRy4vIFG5rVBc93q"], ["created_at", "2020-12-05 02:55:47.360746"], ["updated_at", "2020-12-05 02:55:47.360746"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.5ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.5ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered admin/panel.html.erb within layouts/application (1.4ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (4.6ms) Rendered bookings/new.html.erb within layouts/application (5.6ms)
Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (3.4ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:55:47.556837"], ["updated_at", "2020-12-05 02:55:47.556837"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/28 Completed 302 Found in 8ms (ActiveRecord: 3.9ms) Started GET “/bookings/28” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"28"}
[1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.3ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.4ms) Rendered bookings/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.4ms)
Rendered bookings/new.html.erb within layouts/application (3.7ms)
Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.6ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 02:55:47.701720"], ["updated_at", "2020-12-05 02:55:47.701720"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.6ms)
Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 7ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.3ms)
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.4ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.5ms) Rendered request_deadlines/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 25ms (Views: 10.9ms | ActiveRecord: 4.2ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.4ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 02:55:47.873805"], ["updated_at", "2020-12-05 02:55:47.873805"]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 7ms (ActiveRecord: 1.6ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.5ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 6ms (Views: 3.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-04 23:55:47 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (4.7ms) Rendered request_deadlines/new.html.erb within layouts/application (5.0ms)
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.3ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.6ms)
Completed 200 OK in 8ms (Views: 5.1ms | ActiveRecord: 0.6ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 16ms (Views: 5.0ms | ActiveRecord: 5.2ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (1.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (1.2ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 02:55:48.094695"], ["updated_at", "2020-12-05 02:55:48.094695"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 8ms (ActiveRecord: 3.4ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.7ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.7ms)
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (1.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 9ms (Views: 4.0ms | ActiveRecord: 1.5ms)
[1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.1ms)
Completed 200 OK in 5ms (Views: 3.7ms | ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.8ms)
Completed 200 OK in 4ms (Views: 3.0ms | ActiveRecord: 0.4ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.6ms) Rendered tickets/new.html.erb within layouts/application (8.2ms)
Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.3ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 02:55:48.299514"], ["updated_at", "2020-12-05 02:55:48.299514"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/28 Completed 302 Found in 6ms (ActiveRecord: 0.8ms) Started GET “/tickets/28” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"28"}
[1m[36mTicket Load (0.6ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 28], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.1ms)
Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.6ms)
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.0ms)
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.9ms) Rendered tickets/new.html.erb within layouts/application (4.1ms)
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-04 23:55:48 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (5.7ms)
Rendered tickets/new.html.erb within layouts/application (6.0ms)
Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[36mUser Create (1.1ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "admin@admin.com"], ["encrypted_password", "$2a$04$6o2mg395JzPjTx08jCc44eayrvzK.RsFSrb/H6jM05coiZ6.WUo2a"], ["created_at", "2020-12-05 03:22:52.546754"], ["updated_at", "2020-12-05 03:22:52.546754"], ["full_name", "Administrador"], ["registration", "000000000"], ["role", 0]]
[1m[35m (1.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "secretary@secretary.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "secretary@secretary.com"], ["encrypted_password", "$2a$04$5KuUqkg32mGBnn1CQ7JLHuFl.c6gy2VC/kg97Ht9tX0Sn0ewjqteK"], ["created_at", "2020-12-05 03:22:52.553654"], ["updated_at", "2020-12-05 03:22:52.553654"], ["full_name", "Secretário"], ["registration", "000000000"], ["role", 1]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "professor@professor.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "professor@professor.com"], ["encrypted_password", "$2a$04$q5VnHJyktn2KMET4lUwyAeI2MjXMgfKoFdxQHXfkvtOjpFsNnJOlq"], ["created_at", "2020-12-05 03:22:52.559038"], ["updated_at", "2020-12-05 03:22:52.559038"], ["full_name", "Professor"], ["registration", "000000000"], ["role", 2]]
[1m[35m (1.3ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "student@student.com"], ["encrypted_password", "$2a$04$oumeKDmLafeW2O8NHNQzOO6SldtmcbF/Nu6wQWyZz4kOu13OYxQEu"], ["created_at", "2020-12-05 03:22:52.564704"], ["updated_at", "2020-12-05 03:22:52.564704"], ["full_name", "Aluno"], ["registration", "000000000"], ["role", 3]]
[1m[35m (1.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (1.9ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$xKWZHoOvHViYWKX9uz6tZeJzorwM/O5h.4f6PnPq9K/lNf90MLn/u"], ["created_at", "2020-12-05 03:23:14.564064"], ["updated_at", "2020-12-05 03:23:14.564064"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:14 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (23.8ms)
Completed 200 OK in 305ms (Views: 291.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:14 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:14 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.2ms)
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.2ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-05 00:23:14 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (1.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.6ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (15.2ms)
Completed 200 OK in 25ms (Views: 7.1ms | ActiveRecord: 10.7ms)
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (1.0ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$FQhW35p/mu.frbmnNZ9/gOanw2dwm8aQYEdxacBQ3L/w0DI5v/HPS"], ["created_at", "2020-12-05 03:23:15.061238"], ["updated_at", "2020-12-05 03:23:15.061238"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.4ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.3ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.4ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (0.4ms)
Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered admin/panel.html.erb within layouts/application (1.1ms)
Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.3ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.8ms) Rendered bookings/new.html.erb within layouts/application (5.2ms)
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (0.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 03:23:15.200776"], ["updated_at", "2020-12-05 03:23:15.200776"], ["user_id", 4]]
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/1 Completed 302 Found in 6ms (ActiveRecord: 1.3ms) Started GET “/bookings/1” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (0.8ms)
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (1.1ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.6ms)
Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 1.0ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (3.5ms) Rendered bookings/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.9ms)
Rendered bookings/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 9ms (Views: 5.6ms | ActiveRecord: 0.4ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.8ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (1.5ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 03:23:15.367679"], ["updated_at", "2020-12-05 03:23:15.367679"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.6ms)
Completed 200 OK in 12ms (Views: 9.0ms | ActiveRecord: 1.5ms)
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.3ms)
[1m[36mBudget Load (0.6ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.6ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.9ms) Rendered devise/sessions/new.html.erb within layouts/application (5.3ms)
Completed 200 OK in 22ms (Views: 9.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 10ms (ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.5ms)
Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.5ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (12.3ms) Rendered request_deadlines/new.html.erb within layouts/application (14.0ms)
Completed 200 OK in 47ms (Views: 20.2ms | ActiveRecord: 3.7ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (2.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (1.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (1.2ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 03:23:15.680406"], ["updated_at", "2020-12-05 03:23:15.680406"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 11ms (ActiveRecord: 5.0ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.8ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (3.6ms)
Completed 200 OK in 11ms (Views: 7.2ms | ActiveRecord: 0.8ms)
[1m[35m (1.5ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.8ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 1.7ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (6.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (14.5ms)
Completed 200 OK in 19ms (Views: 11.4ms | ActiveRecord: 6.9ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 1.1ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (12.4ms) Rendered request_deadlines/new.html.erb within layouts/application (12.7ms)
Completed 200 OK in 20ms (Views: 17.8ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (5.4ms)
Rendered request_deadlines/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 11ms (Views: 7.5ms | ActiveRecord: 1.0ms)
[1m[35m (2.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (1.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (1.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 11ms (ActiveRecord: 1.9ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.9ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (1.0ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (5.1ms)
Completed 200 OK in 25ms (Views: 6.2ms | ActiveRecord: 12.1ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-05 00:23:15 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (4.0ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 03:23:15.995441"], ["updated_at", "2020-12-05 03:23:15.995441"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 8ms (ActiveRecord: 4.5ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
[1m[35m (0.5ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.4ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.8ms) Rendered devise/sessions/new.html.erb within layouts/application (4.7ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (4.2ms)
Completed 200 OK in 9ms (Views: 6.2ms | ActiveRecord: 0.6ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.0ms)
Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 0.7ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.5ms)
Completed 200 OK in 10ms (Views: 8.1ms | ActiveRecord: 1.2ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (4.4ms) Rendered tickets/new.html.erb within layouts/application (5.9ms)
Completed 200 OK in 10ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.9ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 03:23:16.198349"], ["updated_at", "2020-12-05 03:23:16.198349"], ["user_id", 4]]
[1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/1 Completed 302 Found in 7ms (ActiveRecord: 2.5ms) Started GET “/tickets/1” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.0ms)
Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.7ms)
Completed 200 OK in 11ms (Views: 8.6ms | ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (3.7ms) Rendered tickets/new.html.erb within layouts/application (4.0ms)
Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-05 00:23:16 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (3.6ms)
Rendered tickets/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$eVvhxxwKBaX/xHX/GP8jbe/GvTFJXt0a5KPvPcvfTPleGf1f06wFq"], ["created_at", "2020-12-05 03:34:33.157521"], ["updated_at", "2020-12-05 03:34:33.157521"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (21.8ms)
Completed 200 OK in 264ms (Views: 253.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:33 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.6ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (2.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (1.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$awgl4Vbu5nsfppQNtpXz5eU7./vIFWPhVr2PPA1NbvWxIsm8cspEa"], ["created_at", "2020-12-05 03:34:33.487090"], ["updated_at", "2020-12-05 03:34:33.487090"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (62.2ms)
Completed 200 OK in 65ms (Views: 63.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:33 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.8ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.1ms)
Rendered devise/sessions/new.html.erb within layouts/application (4.3ms)
Completed 200 OK in 13ms (Views: 10.1ms | ActiveRecord: 0.0ms)
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:33 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 2ms (ActiveRecord: 0.3ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (0.3ms)
Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:33 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (7.1ms)
Completed 200 OK in 13ms (Views: 9.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:33 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Completed 401 Unauthorized in 3ms (ActiveRecord: 0.4ms) Processing by Devise::SessionsController#new as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
Rendering devise/sessions/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.9ms)
Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.0ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.8ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (2.1ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (2.0ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users"[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "admin@admin.com"], ["encrypted_password", "$2a$04$oXv2D3K2Ef9XQF0kLoY56.IBT/1qhM.gjqyhm5BDCXCeF74cksqUK"], ["created_at", "2020-12-05 03:34:52.155974"], ["updated_at", "2020-12-05 03:34:52.155974"], ["full_name", "Administrador"], ["registration", "000000000"], ["role", 0]]
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "secretary@secretary.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "secretary@secretary.com"], ["encrypted_password", "$2a$04$9z4KLto3qrKHs3XwKZ/YV.JYN8ZjmVY6bDMQtZ1p6VdUtipTEN8oW"], ["created_at", "2020-12-05 03:34:52.161799"], ["updated_at", "2020-12-05 03:34:52.161799"], ["full_name", "Secretário"], ["registration", "000000000"], ["role", 1]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "professor@professor.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "professor@professor.com"], ["encrypted_password", "$2a$04$bs/Oy5yAbOYkx3kvD0eaPeVojbMRGK8ylRQJZarnYItyD1mUHUCeC"], ["created_at", "2020-12-05 03:34:52.167011"], ["updated_at", "2020-12-05 03:34:52.167011"], ["full_name", "Professor"], ["registration", "000000000"], ["role", 2]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[36mUser Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["email", "student@student.com"], ["encrypted_password", "$2a$04$9v.REIkYwmVfP..vPbDcCufHCoC6lIOheTctlN5GT2PjasM.6IqJq"], ["created_at", "2020-12-05 03:34:52.171906"], ["updated_at", "2020-12-05 03:34:52.171906"], ["full_name", "Aluno"], ["registration", "000000000"], ["role", 3]]
[1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.4ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$Q4HskSYu5hlJeO/q.RUqRe4f6lvedekqiwqMV03k0ZzLvApOYpbdu"], ["created_at", "2020-12-05 03:34:58.131903"], ["updated_at", "2020-12-05 03:34:58.131903"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.4ms) Rendered devise/sessions/new.html.erb within layouts/application (16.3ms)
Completed 200 OK in 239ms (Views: 228.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.8ms)
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.5ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.4ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (65.2ms)
Completed 200 OK in 74ms (Views: 63.1ms | ActiveRecord: 4.5ms)
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin2.com"], ["LIMIT", 1]]
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("id", "email", "encrypted_password", "created_at", "updated_at", "full_name", "registration", "role") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"[0m [["id", 10], ["email", "admin@admin2.com"], ["encrypted_password", "$2a$04$ni24FIza6seCGNPJ3cKj3.LQrO34SMLRt360yMZxWl7hjna1C6/3y"], ["created_at", "2020-12-05 03:34:58.557305"], ["updated_at", "2020-12-05 03:34:58.557305"], ["full_name", "Administrador2"], ["registration", "000000000"], ["role", 0]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.6ms) Rendered devise/sessions/new.html.erb within layouts/application (2.6ms)
Completed 200 OK in 7ms (Views: 5.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.8ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.8ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mBooking Load (0.2ms)[0m [1m[34mSELECT "bookings".* FROM "bookings"[0m [1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets"[0m Rendered admin/panel.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.7ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.4ms) Started DELETE “/users/sign_out” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#destroy as HTML
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application Rendered home/index.html.erb within layouts/application (1.2ms)
Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m [1m[36mUser Exists (0.3ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.8ms)
Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms) Started GET “/admin/panel” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by AdminController#panel as HTML
Rendering admin/panel.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered admin/panel.html.erb within layouts/application (1.2ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms)
[1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (2.9ms)
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (6.8ms) Rendered bookings/new.html.erb within layouts/application (12.1ms)
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBooking Create (2.5ms)[0m [1m[32mINSERT INTO "bookings" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 03:34:58.780908"], ["updated_at", "2020-12-05 03:34:58.780908"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/bookings/1 Completed 302 Found in 8ms (ActiveRecord: 3.1ms) Started GET “/bookings/1” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by BookingsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mBooking Load (1.6ms)[0m [1m[34mSELECT "bookings".* FROM "bookings" WHERE "bookings"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering bookings/show.html.erb within layouts/application
Rendered bookings/show.html.erb within layouts/application (1.3ms)
Completed 200 OK in 8ms (Views: 3.1ms | ActiveRecord: 1.6ms)
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mBooking Exists (1.2ms)[0m [1m[34mSELECT 1 AS one FROM "bookings" WHERE "bookings"."user_id" = $1 AND "bookings"."data_entrada" = $2 AND "bookings"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.4ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.5ms)
Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.2ms) Started GET “/bookings/new” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by BookingsController#new as HTML
Rendering bookings/new.html.erb within layouts/application Rendered bookings/_form.html.erb (5.3ms) Rendered bookings/new.html.erb within layouts/application (5.7ms)
Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms) Started POST “/bookings” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by BookingsController#create as HTML
Parameters: {"utf8"=>"✓", "booking"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar diárias"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering bookings/new.html.erb within layouts/application
Rendered bookings/_form.html.erb (3.5ms)
Rendered bookings/new.html.erb within layouts/application (3.9ms)
Completed 200 OK in 9ms (Views: 5.3ms | ActiveRecord: 0.6ms)
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.5ms) Rendered devise/sessions/new.html.erb within layouts/application (6.1ms)
Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.5ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.1ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.4ms)
[1m[36mBudget Load (0.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mBudget Create (0.4ms)[0m [1m[32mINSERT INTO "budgets" ("value", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["value", "500.98"], ["created_at", "2020-12-05 03:34:58.957959"], ["updated_at", "2020-12-05 03:34:58.957959"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m
[1m[36mBudget Load (0.9ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m [1m[36mBudget Load (0.2ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (4.2ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.8ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:58 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.3ms)
Completed 200 OK in 8ms (Views: 5.9ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.9ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 8ms (ActiveRecord: 0.9ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.2ms)
[1m[36mBudget Load (0.3ms)[0m [1m[34mSELECT "budgets".* FROM "budgets"[0m
Started GET “/budgets” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by BudgetsController#index as HTML
Rendering budgets/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[35m (0.9ms)[0m [1m[34mSELECT COUNT(*) FROM "budgets"[0m Rendered budgets/index.html.erb within layouts/application (6.0ms)
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 1.4ms)
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.4ms) Rendered devise/sessions/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (1.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (5.8ms)
Completed 200 OK in 10ms (Views: 8.2ms | ActiveRecord: 1.0ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (7.9ms) Rendered request_deadlines/new.html.erb within layouts/application (9.3ms)
Completed 200 OK in 28ms (Views: 12.3ms | ActiveRecord: 6.4ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2021", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.4ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequestDeadline Create (0.5ms)[0m [1m[32mINSERT INTO "request_deadlines" ("deadline", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["deadline", "2021-01-01 17:30:00"], ["created_at", "2020-12-05 03:34:59.209956"], ["updated_at", "2020-12-05 03:34:59.209956"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/request_deadlines Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET “/request_deadlines” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by RequestDeadlinesController#index as HTML
Rendering request_deadlines/index.html.erb within layouts/application [1m[36mRequestDeadline Load (0.2ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m Rendered request_deadlines/index.html.erb within layouts/application (1.9ms)
Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.2ms)
[1m[35m (0.8ms)[0m [1m[34mSELECT COUNT(*) FROM "request_deadlines"[0m [1m[36mRequestDeadline Load (0.3ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m [1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (1.6ms)
Completed 200 OK in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 7ms (ActiveRecord: 0.6ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.0ms)
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.4ms)
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.2ms) Started GET “/request_deadlines/new” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by RequestDeadlinesController#new as HTML
Rendering request_deadlines/new.html.erb within layouts/application Rendered request_deadlines/_form.html.erb (2.0ms) Rendered request_deadlines/new.html.erb within layouts/application (2.2ms)
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms) Started POST “/request_deadlines” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by RequestDeadlinesController#create as HTML
Parameters: {"utf8"=>"✓", "request_deadline"=>{"deadline(1i)"=>"2015", "deadline(2i)"=>"1", "deadline(3i)"=>"1", "deadline(4i)"=>"17", "deadline(5i)"=>"30"}, "commit"=>"Definir prazo"}
[1m[36mRequestDeadline Load (0.5ms)[0m [1m[34mSELECT "request_deadlines".* FROM "request_deadlines"[0m
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering request_deadlines/new.html.erb within layouts/application
Rendered request_deadlines/_form.html.erb (3.5ms)
Rendered request_deadlines/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 9ms (Views: 5.2ms | ActiveRecord: 1.2ms)
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.5ms)
Completed 200 OK in 8ms (Views: 5.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 4ms (ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (1.6ms)
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.2ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.5ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (9.0ms)
Completed 200 OK in 27ms (Views: 12.0ms | ActiveRecord: 6.7ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>"Idade maior que 18 anos"}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mRequirement Create (0.9ms)[0m [1m[32mINSERT INTO "requirements" ("requirements", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["requirements", "Idade maior que 18 anos"], ["created_at", "2020-12-05 03:34:59.391781"], ["updated_at", "2020-12-05 03:34:59.391781"]]
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m
Redirected to www.example.com/requirements Completed 302 Found in 6ms (ActiveRecord: 1.6ms) Started GET “/requirements” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by RequirementsController#index as HTML
Rendering requirements/index.html.erb within layouts/application [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/index.html.erb within layouts/application (1.7ms)
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.3ms)
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "requirements"[0m [1m[36mRequirement Load (0.2ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[35m (0.1ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (1.0ms) Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 10ms (Views: 8.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"admin@admin.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "admin@admin.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 5ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.9ms)
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.7ms) Started GET “/requirements/new” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by RequirementsController#new as HTML
Rendering requirements/new.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]] [1m[36mRequirement Load (0.3ms)[0m [1m[34mSELECT "requirements".* FROM "requirements"[0m Rendered requirements/new.html.erb within layouts/application (2.7ms)
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.5ms) Started POST “/requirements” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by RequirementsController#create as HTML
Parameters: {"utf8"=>"✓", "requirement"=>{"requirements"=>""}, "commit"=>"Definir requisitos"}
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering requirements/new.html.erb within layouts/application
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendered requirements/new.html.erb within layouts/application (2.3ms)
Completed 200 OK in 12ms (Views: 7.8ms | ActiveRecord: 0.5ms)
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m [1m[35m (0.5ms)[0m [1m[35mCOMMIT[0m [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.4ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.3ms) Rendered devise/sessions/new.html.erb within layouts/application (3.8ms)
Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.4ms)
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.2ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.5ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (3.4ms)
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.5ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (6.4ms) Rendered tickets/new.html.erb within layouts/application (8.6ms)
Completed 200 OK in 14ms (Views: 12.2ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"1", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"5"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[36mTicket Create (0.4ms)[0m [1m[32mINSERT INTO "tickets" ("data_entrada", "data_saida", "created_at", "updated_at", "user_id") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["created_at", "2020-12-05 03:34:59.633851"], ["updated_at", "2020-12-05 03:34:59.633851"], ["user_id", 4]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
Redirected to www.example.com/tickets/1 Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET “/tickets/1” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by TicketsController#show as HTML
Parameters: {"id"=>"1"}
[1m[36mTicket Load (0.2ms)[0m [1m[34mSELECT "tickets".* FROM "tickets" WHERE "tickets"."id" = $1 LIMIT $2[0m [["id", 1], ["LIMIT", 1]]
Rendering tickets/show.html.erb within layouts/application
Rendered tickets/show.html.erb within layouts/application (1.1ms)
Completed 200 OK in 5ms (Views: 2.7ms | ActiveRecord: 0.2ms)
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]] [1m[36mTicket Exists (0.4ms)[0m [1m[34mSELECT 1 AS one FROM "tickets" WHERE "tickets"."user_id" = $1 AND "tickets"."data_entrada" = $2 AND "tickets"."data_saida" = $3 LIMIT $4[0m [["user_id", 4], ["data_entrada", "2020-01-01"], ["data_saida", "2020-01-05"], ["LIMIT", 1]] [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m [1m[36mUser Load (0.7ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Started GET “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#new as HTML
Rendering devise/sessions/new.html.erb within layouts/application Rendered devise/shared/_links.html.erb (0.2ms) Rendered devise/sessions/new.html.erb within layouts/application (3.2ms)
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms) Started POST “/users/sign_in” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by Devise::SessionsController#create as HTML
Parameters: {"utf8"=>"✓", "user"=>{"email"=>"student@student.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log in"}
[1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["email", "student@student.com"], ["LIMIT", 1]]
Redirected to www.example.com/ Completed 302 Found in 6ms (ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.3ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (4.0ms)
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.3ms) Started GET “/” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by HomeController#index as HTML
Rendering home/index.html.erb within layouts/application [1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]] Rendered home/index.html.erb within layouts/application (2.7ms)
Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.2ms) Started GET “/tickets/new” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by TicketsController#new as HTML
Rendering tickets/new.html.erb within layouts/application Rendered tickets/_form.html.erb (8.8ms) Rendered tickets/new.html.erb within layouts/application (9.3ms)
Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms) Started POST “/tickets” for 127.0.0.1 at 2020-12-05 00:34:59 -0300 Processing by TicketsController#create as HTML
Parameters: {"utf8"=>"✓", "ticket"=>{"data_entrada(1i)"=>"2020", "data_entrada(2i)"=>"1", "data_entrada(3i)"=>"5", "data_saida(1i)"=>"2020", "data_saida(2i)"=>"1", "data_saida(3i)"=>"1"}, "commit"=>"Solicitar passagem"}
[1m[36mUser Load (0.6ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT $2[0m [["id", 4], ["LIMIT", 1]]
[1m[35m (3.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
[1m[35m (3.4ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
Rendering tickets/new.html.erb within layouts/application
Rendered tickets/_form.html.erb (6.5ms)
Rendered tickets/new.html.erb within layouts/application (6.8ms)
Completed 200 OK in 21ms (Views: 8.6ms | ActiveRecord: 7.5ms)
[1m[35m (3.1ms)[0m [1m[31mROLLBACK[0m